#DE97F8
Closest named color: Baby Purple (#CA9BF7). oklch(78% 0.152 316.6), rgb(222, 151, 248).
Aa
Black text reads best on this color (9.88:1).
About this color
#DE97F8 is a light, vivid purple. In OKLCH its lightness is 78%, its chroma 0.152 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.032 away. Black text reads best on it, at 9.88:1.
| Hue family | Purples |
| Lightness | light (78%) |
| Chroma | vivid (0.152) |
| Temperature | in between |
| Nearest name | Baby Purple (#CA9BF7) |
| Black text | 9.88:1 |
| White text | 2.12:1 |
Values
| HEX | #DE97F8 |
| RGB | rgb(222, 151, 248) |
| HSL | hsl(284, 87%, 78%) |
| OKLCH | oklch(78% 0.152 316.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 #DE97F8 | 2.12:1 | Fails | Lc -46.1 | Large or bold text, headings |
| Black text on #DE97F8 | 9.88:1 | AAA | Lc 62.5 | Content text, not long reading |
| #DE97F8 text on white | 2.12:1 | Fails | Lc 41.5 | Non-text elements, placeholder text |
| #DE97F8 text on black | 9.88:1 | AAA | Lc -60.8 | Content text, not long reading |
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 300.
-
Step 50
50
#FBF2FF
oklch(97.2% 0.02 315.7)
-
Step 100
100
#F6E1FE
oklch(93.5% 0.045 316.7)
-
Step 200
200
#F0C8FF
oklch(88.4% 0.085 316.7)
-
Step 300
300 (this color)
#DE97F8
oklch(78% 0.152 316.6)
-
Step 400
400
#D865FF
oklch(70.7% 0.234 316.6)
-
Step 500
500
#CD0BFF
oklch(63.1% 0.305 316.6)
-
Step 600
600
#AE00D9
oklch(55.7% 0.272 316.6)
-
Step 700
700
#9300B8
oklch(49.2% 0.24 316.6)
-
Step 800
800
#790098
oklch(42.7% 0.209 316.6)
-
Step 900
900
#660080
oklch(37.8% 0.184 316.8)
-
Step 950
950
#3E024F
oklch(27.1% 0.129 316.7)
#DE97F8 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) | #88ADFC | 0.127 |
| Deuteranopia (no green cones) | #99B4F5 | 0.117 |
| Tritanopia (no blue cones) | #DDA4BC | 0.102 |
| Achromatopsia (no color) | #B2B2B2 | 0.153 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DE97F8
#DE97F8
oklch(78% 0.152 316.6)
- #88CD68
#88CD68
oklch(77.9% 0.151 136.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 #DE97F8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Baby Purple #CA9BF7 ΔE 0.032
- Lilac #CEA2FD ΔE 0.033
- Pastel Purple #CAA0FF ΔE 0.036
- Violet #EE82EE ΔE 0.049
- Plum #DDA0DD ΔE 0.050
- Liliac #C48EFD ΔE 0.051
- Lavender Pink #DD85D7 ΔE 0.055
- Pale Violet #CEAEFA ΔE 0.058
Use #DE97F8 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.