#DF97FC
Closest named color: Lilac (#CEA2FD). oklch(78.3% 0.157 315.8), rgb(223, 151, 252).
Aa
Black text reads best on this color (9.96:1).
About this color
#DF97FC is a light, vivid purple. In OKLCH its lightness is 78%, its chroma 0.157 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.035 away. Black text reads best on it, at 9.96:1.
| Hue family | Purples |
| Lightness | light (78%) |
| Chroma | vivid (0.157) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 9.96:1 |
| White text | 2.10:1 |
Values
| HEX | #DF97FC |
| RGB | rgb(223, 151, 252) |
| HSL | hsl(283, 94%, 79%) |
| OKLCH | oklch(78.3% 0.157 315.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 #DF97FC | 2.10:1 | Fails | Lc -45.7 | Large or bold text, headings |
| Black text on #DF97FC | 9.96:1 | AAA | Lc 62.9 | Content text, not long reading |
| #DF97FC text on white | 2.10:1 | Fails | Lc 41.1 | Non-text elements, placeholder text |
| #DF97FC text on black | 9.96:1 | AAA | Lc -61.2 | 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
#F6E1FF
oklch(93.6% 0.046 315.8)
-
Step 200
200
#EFC9FF
oklch(88.5% 0.083 315.8)
-
Step 300
300 (this color)
#DF97FC
oklch(78.3% 0.157 315.8)
-
Step 400
400
#D667FF
oklch(70.7% 0.231 315.9)
-
Step 500
500
#CB19FF
oklch(63.1% 0.3 315.9)
-
Step 600
600
#AD00DB
oklch(55.7% 0.273 315.8)
-
Step 700
700
#9200B9
oklch(49.1% 0.241 315.9)
-
Step 800
800
#780099
oklch(42.6% 0.209 315.8)
-
Step 900
900
#650081
oklch(37.7% 0.185 316)
-
Step 950
950
#3E0050
oklch(27% 0.132 316.3)
#DF97FC 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) | #86AEFF | 0.131 |
| Deuteranopia (no green cones) | #98B5F9 | 0.120 |
| Tritanopia (no blue cones) | #DEA5BE | 0.106 |
| Achromatopsia (no color) | #B3B3B3 | 0.158 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DF97FC
#DF97FC
oklch(78.3% 0.157 315.8)
- #89CF64
#89CF64
oklch(78.4% 0.157 135.9)
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 #DF97FC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lilac #CEA2FD ΔE 0.035
- Baby Purple #CA9BF7 ΔE 0.035
- Pastel Purple #CAA0FF ΔE 0.037
- Violet #EE82EE ΔE 0.049
- Liliac #C48EFD ΔE 0.051
- Plum #DDA0DD ΔE 0.055
- Pale Violet #CEAEFA ΔE 0.059
- Lavender Pink #DD85D7 ΔE 0.060
Use #DF97FC 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.