#D21CEE
Closest named color: Hot Purple (#CB00F5). oklch(63.1% 0.289 321.4), rgb(210, 28, 238).
Aa
Black text reads best on this color (5.14:1).
About this color
#D21CEE is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.289 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.023 away. Black text reads best on it, at 5.14:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.289) |
| Temperature | in between |
| Nearest name | Hot Purple (#CB00F5) |
| Black text | 5.14:1 |
| White text | 4.08:1 |
Values
| HEX | #D21CEE |
| RGB | rgb(210, 28, 238) |
| HSL | hsl(292, 86%, 52%) |
| OKLCH | oklch(63.1% 0.289 321.4) |
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 #D21CEE | 4.08:1 | AA large text | Lc -71.5 | Content text, not long reading |
| Black text on #D21CEE | 5.14:1 | AA | Lc 38.1 | Non-text elements, placeholder text |
| #D21CEE text on white | 4.08:1 | AA large text | Lc 66.0 | Content text, not long reading |
| #D21CEE text on black | 5.14: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
#FCF2FD
oklch(97.2% 0.018 323)
-
Step 100
100
#F7E1FB
oklch(93.5% 0.042 321)
-
Step 200
200
#F2C9F9
oklch(88.6% 0.078 321.4)
-
Step 300
300
#EAA1F7
oklch(80.9% 0.141 321.3)
-
Step 400
400
#DE65F3
oklch(70.7% 0.226 321.5)
-
Step 500
500 (this color)
#D21CEE
oklch(63.1% 0.289 321.4)
-
Step 600
600
#B400CD
oklch(55.7% 0.265 321.4)
-
Step 700
700
#9800AD
oklch(49.1% 0.234 321.5)
-
Step 800
800
#7D008F
oklch(42.7% 0.203 321.4)
-
Step 900
900
#690079
oklch(37.7% 0.18 321.1)
-
Step 950
950
#3F0648
oklch(27.1% 0.119 321.6)
#D21CEE 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) | #0072F3 | 0.277 |
| Deuteranopia (no green cones) | #4084EA | 0.260 |
| Tritanopia (no blue cones) | #D4538E | 0.173 |
| Achromatopsia (no color) | #7E7E7E | 0.291 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D21CEE
#D21CEE
oklch(63.1% 0.289 321.4)
- #20A600
#20A600
oklch(63.1% 0.209 141.4)
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 #D21CEE, closest first.
No curated palette has a color within ΔE 0.04 of #D21CEE.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Hot Purple #CB00F5 ΔE 0.023
- Purple Pink #D725DE ΔE 0.029
- Bright Purple #BE03FD ΔE 0.050
- Neon Purple #BC13FE ΔE 0.053
- Heliotrope #D94FF5 ΔE 0.059
- Pink Purple #EF1DE7 ΔE 0.059
- Vibrant Purple #AD03DE ΔE 0.079
- Bright Lilac #C95EFB ΔE 0.081
Use #D21CEE 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.