#DF9DFB
Closest named color: Lilac (#CEA2FD). oklch(79.3% 0.146 315.4), rgb(223, 157, 251).
Aa
Black text reads best on this color (10.35:1).
About this color
#DF9DFB is a light, vivid purple. In OKLCH its lightness is 79%, its chroma 0.146 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.028 away. Black text reads best on it, at 10.35:1.
| Hue family | Purples |
| Lightness | light (79%) |
| Chroma | vivid (0.146) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 10.35:1 |
| White text | 2.02:1 |
Values
| HEX | #DF9DFB |
| RGB | rgb(223, 157, 251) |
| HSL | hsl(282, 92%, 80%) |
| OKLCH | oklch(79.3% 0.146 315.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 #DF9DFB | 2.02:1 | Fails | Lc -43.8 | Non-text elements, placeholder text |
| Black text on #DF9DFB | 10.35:1 | AAA | Lc 64.7 | Content text, not long reading |
| #DF9DFB text on white | 2.02:1 | Fails | Lc 39.3 | Non-text elements, placeholder text |
| #DF9DFB text on black | 10.35:1 | AAA | Lc -63.1 | 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
#F5E2FE
oklch(93.6% 0.042 315.1)
-
Step 200
200
#EEC9FE
oklch(88.4% 0.082 315.6)
-
Step 300
300 (this color)
#DF9DFB
oklch(79.3% 0.146 315.4)
-
Step 400
400
#D568FF
oklch(70.7% 0.229 315.5)
-
Step 500
500
#CA1EFF
oklch(63.2% 0.297 315.5)
-
Step 600
600
#AC00DC
oklch(55.6% 0.273 315.3)
-
Step 700
700
#9100BA
oklch(49% 0.241 315.3)
-
Step 800
800
#78009A
oklch(42.7% 0.21 315.5)
-
Step 900
900
#650082
oklch(37.8% 0.186 315.6)
-
Step 950
950
#3C064E
oklch(27.1% 0.123 315.3)
#DF9DFB 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) | #8EB2FF | 0.119 |
| Deuteranopia (no green cones) | #9EB8F8 | 0.109 |
| Tritanopia (no blue cones) | #DEA9C0 | 0.099 |
| Achromatopsia (no color) | #B6B6B6 | 0.147 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DF9DFB
#DF9DFB
oklch(79.3% 0.146 315.4)
- #91D06D
#91D06D
oklch(79.2% 0.146 135.2)
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 #DF9DFB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lilac #CEA2FD ΔE 0.028
- Pastel Purple #CAA0FF ΔE 0.033
- Baby Purple #CA9BF7 ΔE 0.034
- Plum #DDA0DD ΔE 0.046
- Pale Violet #CEAEFA ΔE 0.047
- Light Violet #D6B4FC ΔE 0.056
- Liliac #C48EFD ΔE 0.060
- Violet #EE82EE ΔE 0.061
Use #DF9DFB 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.