#CF28ED
Closest named color: Hot Purple (#CB00F5). oklch(63.1% 0.28 320.6), rgb(207, 40, 237).
Aa
Black text reads best on this color (5.17:1).
About this color
#CF28ED is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.280 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Hot Purple (#CB00F5), ΔE 0.026 away. Black text reads best on it, at 5.17:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.280) |
| Temperature | in between |
| Nearest name | Hot Purple (#CB00F5) |
| Black text | 5.17:1 |
| White text | 4.05:1 |
Values
| HEX | #CF28ED |
| RGB | rgb(207, 40, 237) |
| HSL | hsl(291, 85%, 54%) |
| OKLCH | oklch(63.1% 0.28 320.6) |
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 #CF28ED | 4.05:1 | AA large text | Lc -71.5 | Content text, not long reading |
| Black text on #CF28ED | 5.17:1 | AA | Lc 38.1 | Non-text elements, placeholder text |
| #CF28ED text on white | 4.05:1 | AA large text | Lc 66.0 | Content text, not long reading |
| #CF28ED text on black | 5.17:1 | AA | Lc -35.6 | 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
#FBF2FD
oklch(97.1% 0.017 320.1)
-
Step 100
100
#F6E2FB
oklch(93.6% 0.04 319.5)
-
Step 200
200
#F1C9F8
oklch(88.5% 0.076 321.3)
-
Step 300
300
#E8A2F7
oklch(80.8% 0.138 320.4)
-
Step 400
400
#DB68F2
oklch(70.7% 0.219 320.7)
-
Step 500
500 (this color)
#CF28ED
oklch(63.1% 0.28 320.6)
-
Step 600
600
#B300CF
oklch(55.7% 0.266 320.6)
-
Step 700
700
#9700AF
oklch(49.1% 0.235 320.6)
-
Step 800
800
#7D0091
oklch(42.8% 0.205 320.7)
-
Step 900
900
#69007A
oklch(37.8% 0.181 320.7)
-
Step 950
950
#3E0848
oklch(27.1% 0.116 320.6)
#CF28ED 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) | #0073F2 | 0.268 |
| Deuteranopia (no green cones) | #4284E9 | 0.250 |
| Tritanopia (no blue cones) | #D0578F | 0.169 |
| Achromatopsia (no color) | #7E7E7E | 0.283 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CF28ED
#CF28ED
oklch(63.1% 0.28 320.6)
- #2AA500
#2AA500
oklch(63.1% 0.206 140.7)
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 #CF28ED, closest first.
No curated palette has a color within ΔE 0.04 of #CF28ED.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Hot Purple #CB00F5 ΔE 0.026
- Purple Pink #D725DE ΔE 0.029
- Bright Purple #BE03FD ΔE 0.050
- Neon Purple #BC13FE ΔE 0.051
- Heliotrope #D94FF5 ΔE 0.054
- Pink Purple #EF1DE7 ΔE 0.063
- Bright Lilac #C95EFB ΔE 0.073
- Vibrant Purple #AD03DE ΔE 0.076
Use #CF28ED 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.