#D040CE
Closest named color: Pinky Purple (#C94CBE). oklch(63% 0.236 328.5), rgb(208, 64, 206).
Aa
Black text reads best on this color (5.30:1).
About this color
#D040CE is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.236 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pinky Purple (#C94CBE), ΔE 0.034 away. Black text reads best on it, at 5.30:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.236) |
| Temperature | in between |
| Nearest name | Pinky Purple (#C94CBE) |
| Black text | 5.30:1 |
| White text | 3.95:1 |
Values
| HEX | #D040CE |
| RGB | rgb(208, 64, 206) |
| HSL | hsl(301, 61%, 53%) |
| OKLCH | oklch(63% 0.236 328.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 #D040CE | 3.95:1 | AA large text | Lc -71.3 | Content text, not long reading |
| Black text on #D040CE | 5.30:1 | AA | Lc 38.3 | Non-text elements, placeholder text |
| #D040CE text on white | 3.95:1 | AA large text | Lc 65.8 | Content text, not long reading |
| #D040CE text on black | 5.30:1 | AA | Lc -35.9 | 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
#FCF2FB
oklch(97.1% 0.016 328.8)
-
Step 100
100
#F7E2F5
oklch(93.5% 0.034 328.8)
-
Step 200
200
#F1CBEF
oklch(88.5% 0.064 327.8)
-
Step 300
300
#EAA6E6
oklch(81% 0.115 328.6)
-
Step 400
400
#DC70D9
oklch(70.6% 0.185 328.4)
-
Step 500
500 (this color)
#D040CE
oklch(63% 0.236 328.5)
-
Step 600
600
#BB00BB
oklch(55.6% 0.255 328.4)
-
Step 700
700
#9E009E
oklch(49.1% 0.226 328.4)
-
Step 800
800
#830082
oklch(42.7% 0.196 328.8)
-
Step 900
900
#6A1369
oklch(37.8% 0.154 328.6)
-
Step 950
950
#3E0F3D
oklch(27% 0.096 328.7)
#D040CE 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) | #2A74D2 | 0.251 |
| Deuteranopia (no green cones) | #6787CA | 0.213 |
| Tritanopia (no blue cones) | #D75483 | 0.130 |
| Achromatopsia (no color) | #808080 | 0.238 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D040CE
#D040CE
oklch(63% 0.236 328.5)
- #00A544
#00A544
oklch(63% 0.18 148.5)
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 #D040CE, closest first.
No curated palette has a color within ΔE 0.04 of #D040CE.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pinky Purple #C94CBE ΔE 0.034
- Purpley Pink #C83CB9 ΔE 0.034
- Purple Pink #D725DE ΔE 0.039
- Medium Orchid #BA55D3 ΔE 0.049
- Heliotrope #D94FF5 ΔE 0.062
- Pink Purple #EF1DE7 ΔE 0.070
- Hot Magenta #F504C9 ΔE 0.074
- Bright Lilac #C95EFB ΔE 0.079
Use #D040CE 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.