#D402F4
Closest named color: Hot Purple (#CB00F5). oklch(63.1% 0.301 320.8), rgb(212, 2, 244).
Aa
Black text reads best on this color (5.11:1).
About this color
#D402F4 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.301 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.018 away. Black text reads best on it, at 5.11:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.301) |
| Temperature | in between |
| Nearest name | Hot Purple (#CB00F5) |
| Black text | 5.11:1 |
| White text | 4.10:1 |
Values
| HEX | #D402F4 |
| RGB | rgb(212, 2, 244) |
| HSL | hsl(292, 98%, 48%) |
| OKLCH | oklch(63.1% 0.301 320.8) |
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 #D402F4 | 4.10:1 | AA large text | Lc -71.1 | Content text, not long reading |
| Black text on #D402F4 | 5.11:1 | AA | Lc 38.5 | Non-text elements, placeholder text |
| #D402F4 text on white | 4.10:1 | AA large text | Lc 65.6 | Content text, not long reading |
| #D402F4 text on black | 5.11:1 | AA | Lc -36.1 | 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
#FCF1FE
oklch(97% 0.021 321)
-
Step 100
100
#F7E1FC
oklch(93.5% 0.043 320)
-
Step 200
200
#F2C8FB
oklch(88.5% 0.082 320.3)
-
Step 300
300
#EBA0FA
oklch(80.9% 0.146 320.7)
-
Step 400
400
#DF61F8
oklch(70.7% 0.236 320.7)
-
Step 500
500 (this color)
#D402F4
oklch(63.1% 0.301 320.8)
-
Step 600
600
#B300CE
oklch(55.6% 0.266 320.9)
-
Step 700
700
#9700AF
oklch(49.1% 0.235 320.6)
-
Step 800
800
#7D0090
oklch(42.7% 0.204 321)
-
Step 900
900
#69007A
oklch(37.8% 0.181 320.7)
-
Step 950
950
#3F034A
oklch(27% 0.124 320.5)
#D402F4 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) | #0071F9 | 0.283 |
| Deuteranopia (no green cones) | #3583F0 | 0.272 |
| Tritanopia (no blue cones) | #D55190 | 0.181 |
| Achromatopsia (no color) | #7D7D7D | 0.304 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D402F4
#D402F4
oklch(63.1% 0.301 320.8)
- #29A500
#29A500
oklch(63% 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 #D402F4, closest first.
No curated palette has a color within ΔE 0.04 of #D402F4.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Hot Purple #CB00F5 ΔE 0.018
- Purple Pink #D725DE ΔE 0.039
- Bright Purple #BE03FD ΔE 0.047
- Neon Purple #BC13FE ΔE 0.051
- Pink Purple #EF1DE7 ΔE 0.062
- Heliotrope #D94FF5 ΔE 0.067
- Bright Violet #AD0AFD ΔE 0.080
- Vibrant Purple #AD03DE ΔE 0.082
Use #D402F4 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.