#D40DF0
Closest named color: Hot Purple (#CB00F5). oklch(63.1% 0.296 321.6), rgb(212, 13, 240).
Aa
Black text reads best on this color (5.11:1).
About this color
#D40DF0 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.296 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Hot Purple (#CB00F5), ΔE 0.021 away. Black text reads best on it, at 5.11:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.296) |
| Temperature | in between |
| Nearest name | Hot Purple (#CB00F5) |
| Black text | 5.11:1 |
| White text | 4.10:1 |
Values
| HEX | #D40DF0 |
| RGB | rgb(212, 13, 240) |
| HSL | hsl(293, 90%, 50%) |
| OKLCH | oklch(63.1% 0.296 321.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 #D40DF0 | 4.10:1 | AA large text | Lc -71.3 | Content text, not long reading |
| Black text on #D40DF0 | 5.11:1 | AA | Lc 38.3 | Non-text elements, placeholder text |
| #D40DF0 text on white | 4.10:1 | AA large text | Lc 65.8 | Content text, not long reading |
| #D40DF0 text on black | 5.11:1 | AA | Lc -35.8 | 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
#FCF1FD
oklch(97% 0.02 323.2)
-
Step 100
100
#F8E1FB
oklch(93.6% 0.042 322.3)
-
Step 200
200
#F3C8F9
oklch(88.5% 0.081 322.2)
-
Step 300
300
#ECA0F8
oklch(80.9% 0.145 321.9)
-
Step 400
400
#DF62F5
oklch(70.6% 0.232 321.4)
-
Step 500
500 (this color)
#D40DF0
oklch(63.1% 0.296 321.6)
-
Step 600
600
#B400CC
oklch(55.6% 0.265 321.7)
-
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
#690078
oklch(37.6% 0.179 321.6)
-
Step 950
950
#3F0449
oklch(27% 0.122 321.1)
#D40DF0 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) | #0071F5 | 0.282 |
| Deuteranopia (no green cones) | #3D83EC | 0.267 |
| Tritanopia (no blue cones) | #D6508E | 0.176 |
| Achromatopsia (no color) | #7D7D7D | 0.299 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D40DF0
#D40DF0
oklch(63.1% 0.296 321.6)
- #1CA600
#1CA600
oklch(63.1% 0.21 141.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 #D40DF0, closest first.
No curated palette has a color within ΔE 0.04 of #D40DF0.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Hot Purple #CB00F5 ΔE 0.021
- Purple Pink #D725DE ΔE 0.032
- Bright Purple #BE03FD ΔE 0.051
- Neon Purple #BC13FE ΔE 0.054
- Pink Purple #EF1DE7 ΔE 0.059
- Heliotrope #D94FF5 ΔE 0.064
- Vibrant Purple #AD03DE ΔE 0.081
- Bright Violet #AD0AFD ΔE 0.083
Use #D40DF0 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.