#CB28F7
Closest named color: Hot Purple (#CB00F5). oklch(63.2% 0.286 317.3), rgb(203, 40, 247).
Aa
Black text reads best on this color (5.18:1).
About this color
#CB28F7 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.286 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Hot Purple (#CB00F5), ΔE 0.020 away. Black text reads best on it, at 5.18:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.286) |
| Temperature | in between |
| Nearest name | Hot Purple (#CB00F5) |
| Black text | 5.18:1 |
| White text | 4.04:1 |
Values
| HEX | #CB28F7 |
| RGB | rgb(203, 40, 247) |
| HSL | hsl(287, 93%, 56%) |
| OKLCH | oklch(63.2% 0.286 317.3) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #CB28F7 | 4.04:1 | AA large text | Lc -71.5 | Content text, not long reading |
| Black text on #CB28F7 | 5.18:1 | AA | Lc 38.1 | Non-text elements, placeholder text |
| #CB28F7 text on white | 4.04:1 | AA large text | Lc 66.0 | Content text, not long reading |
| #CB28F7 text on black | 5.18:1 | AA | Lc -35.7 | Non-text elements, placeholder text |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.
-
Step 50
50
#FBF2FE
oklch(97.2% 0.018 317.7)
-
Step 100
100
#F5E2FC
oklch(93.6% 0.04 317)
-
Step 200
200
#EFCAFB
oklch(88.6% 0.077 317.8)
-
Step 300
300
#E5A3FC
oklch(80.9% 0.14 317.1)
-
Step 400
400
#D769FA
oklch(70.8% 0.224 317.3)
-
Step 500
500 (this color)
#CB28F7
oklch(63.2% 0.286 317.3)
-
Step 600
600
#AF00D7
oklch(55.7% 0.271 317.4)
-
Step 700
700
#9300B6
oklch(49% 0.239 317.1)
-
Step 800
800
#7A0097
oklch(42.8% 0.208 317.3)
-
Step 900
900
#66007F
oklch(37.7% 0.184 317.2)
-
Step 950
950
#3C084B
oklch(27% 0.118 317)
#CB28F7 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #0075FC | 0.260 |
| Deuteranopia (no green cones) | #2C83F3 | 0.254 |
| Tritanopia (no blue cones) | #C95D95 | 0.179 |
| Achromatopsia (no color) | #7E7E7E | 0.289 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CB28F7
#CB28F7
oklch(63.2% 0.286 317.3)
- #47A200
#47A200
oklch(63.1% 0.192 137.2)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #CB28F7, closest first.
No curated palette has a color within ΔE 0.04 of #CB28F7.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Hot Purple #CB00F5 ΔE 0.020
- Bright Purple #BE03FD ΔE 0.036
- Neon Purple #BC13FE ΔE 0.037
- Purple Pink #D725DE ΔE 0.046
- Heliotrope #D94FF5 ΔE 0.058
- Bright Violet #AD0AFD ΔE 0.066
- Electric Purple #AA23FF ΔE 0.068
- Bright Lilac #C95EFB ΔE 0.072
Use #CB28F7 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.