#D31FEA
Closest named color: Purple Pink (#D725DE). oklch(63.1% 0.285 322.5), rgb(211, 31, 234).
Aa
Black text reads best on this color (5.15:1).
About this color
#D31FEA is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.285 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple Pink (#D725DE), ΔE 0.022 away. Black text reads best on it, at 5.15:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.285) |
| Temperature | in between |
| Nearest name | Purple Pink (#D725DE) |
| Black text | 5.15:1 |
| White text | 4.07:1 |
Values
| HEX | #D31FEA |
| RGB | rgb(211, 31, 234) |
| HSL | hsl(293, 83%, 52%) |
| OKLCH | oklch(63.1% 0.285 322.5) |
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 #D31FEA | 4.07:1 | AA large text | Lc -71.5 | Content text, not long reading |
| Black text on #D31FEA | 5.15:1 | AA | Lc 38.1 | Non-text elements, placeholder text |
| #D31FEA text on white | 4.07:1 | AA large text | Lc 66.0 | Content text, not long reading |
| #D31FEA text on black | 5.15: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
#F7E1FA
oklch(93.5% 0.041 322.2)
-
Step 200
200
#F2C9F8
oklch(88.6% 0.077 322)
-
Step 300
300
#EBA1F5
oklch(80.9% 0.139 322.5)
-
Step 400
400
#DF65F0
oklch(70.7% 0.224 322.6)
-
Step 500
500 (this color)
#D31FEA
oklch(63.1% 0.285 322.5)
-
Step 600
600
#B500CA
oklch(55.6% 0.263 322.5)
-
Step 700
700
#9900AB
oklch(49.1% 0.233 322.5)
-
Step 800
800
#7E008D
oklch(42.7% 0.202 322.5)
-
Step 900
900
#6A0077
oklch(37.7% 0.179 322.5)
-
Step 950
950
#3F0647
oklch(27% 0.118 322.3)
#D31FEA 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) | #0072EF | 0.278 |
| Deuteranopia (no green cones) | #4784E6 | 0.256 |
| Tritanopia (no blue cones) | #D6518C | 0.168 |
| Achromatopsia (no color) | #7E7E7E | 0.287 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D31FEA
#D31FEA
oklch(63.1% 0.285 322.5)
- #00A702
#00A702
oklch(63.1% 0.214 142.6)
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 #D31FEA, closest first.
No curated palette has a color within ΔE 0.04 of #D31FEA.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purple Pink #D725DE ΔE 0.022
- Hot Purple #CB00F5 ΔE 0.029
- Pink Purple #EF1DE7 ΔE 0.056
- Bright Purple #BE03FD ΔE 0.056
- Heliotrope #D94FF5 ΔE 0.058
- Neon Purple #BC13FE ΔE 0.059
- Vibrant Purple #AD03DE ΔE 0.080
- Bright Lilac #C95EFB ΔE 0.081
Use #D31FEA 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.