#DF97F1
Closest named color: Baby Purple (#CA9BF7). oklch(77.8% 0.145 319.4), rgb(223, 151, 241).
Aa
Black text reads best on this color (9.83:1).
About this color
#DF97F1 is a medium-light, vivid purple. In OKLCH its lightness is 78%, its chroma 0.145 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.034 away. Black text reads best on it, at 9.83:1.
| Hue family | Purples |
| Lightness | medium-light (78%) |
| Chroma | vivid (0.145) |
| Temperature | in between |
| Nearest name | Baby Purple (#CA9BF7) |
| Black text | 9.83:1 |
| White text | 2.13:1 |
Values
| HEX | #DF97F1 |
| RGB | rgb(223, 151, 241) |
| HSL | hsl(288, 76%, 77%) |
| OKLCH | oklch(77.8% 0.145 319.4) |
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 #DF97F1 | 2.13:1 | Fails | Lc -46.4 | Large or bold text, headings |
| Black text on #DF97F1 | 9.83:1 | AAA | Lc 62.2 | Content text, not long reading |
| #DF97F1 text on white | 2.13:1 | Fails | Lc 41.7 | Non-text elements, placeholder text |
| #DF97F1 text on black | 9.83:1 | AAA | Lc -60.5 | 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
#FBF2FE
oklch(97.2% 0.018 317.7)
-
Step 100
100
#F7E1FC
oklch(93.5% 0.043 320)
-
Step 200
200
#F1C9FB
oklch(88.6% 0.08 319.5)
-
Step 300
300 (this color)
#DF97F1
oklch(77.8% 0.145 319.4)
-
Step 400
400
#DC64F9
oklch(70.7% 0.232 319.4)
-
Step 500
500
#D113F6
oklch(63.2% 0.297 319.4)
-
Step 600
600
#B100D2
oklch(55.6% 0.268 319.3)
-
Step 700
700
#9600B1
oklch(49.1% 0.236 319.7)
-
Step 800
800
#7C0093
oklch(42.8% 0.206 319.6)
-
Step 900
900
#68007C
oklch(37.8% 0.182 319.4)
-
Step 950
950
#3E044B
oklch(27% 0.123 319)
#DF97F1 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) | #8BACF4 | 0.125 |
| Deuteranopia (no green cones) | #9DB4EE | 0.114 |
| Tritanopia (no blue cones) | #E0A2B9 | 0.093 |
| Achromatopsia (no color) | #B1B1B1 | 0.147 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DF97F1
#DF97F1
oklch(77.8% 0.145 319.4)
- #84CD71
#84CD71
oklch(77.9% 0.145 139.4)
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 #DF97F1, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Baby Purple #CA9BF7 ΔE 0.034
- Lilac #CEA2FD ΔE 0.036
- Pastel Purple #CAA0FF ΔE 0.039
- Plum #DDA0DD ΔE 0.041
- Lavender Pink #DD85D7 ΔE 0.049
- Violet #EE82EE ΔE 0.049
- Liliac #C48EFD ΔE 0.055
- Pale Violet #CEAEFA ΔE 0.057
Use #DF97F1 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.