#DB9CEE
Closest named color: Lilac (#CEA2FD). oklch(78.1% 0.131 318.2), rgb(219, 156, 238).
Aa
Black text reads best on this color (10.00:1).
About this color
#DB9CEE is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.131 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.029 away. Black text reads best on it, at 10.00:1.
| Hue family | Purples |
| Lightness | light (78%) |
| Chroma | moderately saturated (0.131) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 10.00:1 |
| White text | 2.09:1 |
Values
| HEX | #DB9CEE |
| RGB | rgb(219, 156, 238) |
| HSL | hsl(286, 71%, 77%) |
| OKLCH | oklch(78.1% 0.131 318.2) |
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 #DB9CEE | 2.09:1 | Fails | Lc -45.6 | Large or bold text, headings |
| Black text on #DB9CEE | 10.00:1 | AAA | Lc 63.0 | Content text, not long reading |
| #DB9CEE text on white | 2.09:1 | Fails | Lc 41.0 | Non-text elements, placeholder text |
| #DB9CEE text on black | 10.00:1 | AAA | Lc -61.3 | 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
#FBF2FD
oklch(97.1% 0.017 320.1)
-
Step 100
100
#F5E2FB
oklch(93.5% 0.039 318.1)
-
Step 200
200
#EECBF9
oklch(88.6% 0.072 318)
-
Step 300
300 (this color)
#DB9CEE
oklch(78.1% 0.131 318.2)
-
Step 400
400
#D56DF3
oklch(70.6% 0.21 318.2)
-
Step 500
500
#C935EE
oklch(63.1% 0.269 318.4)
-
Step 600
600
#B000D5
oklch(55.7% 0.27 318.2)
-
Step 700
700
#9400B4
oklch(49% 0.238 318.1)
-
Step 800
800
#7A0095
oklch(42.6% 0.207 318)
-
Step 900
900
#65087B
oklch(37.6% 0.175 318.1)
-
Step 950
950
#3C0B48
oklch(27% 0.112 318.7)
#DB9CEE 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) | #91AFF1 | 0.110 |
| Deuteranopia (no green cones) | #A0B5EB | 0.101 |
| Tritanopia (no blue cones) | #DBA6BA | 0.087 |
| Achromatopsia (no color) | #B3B3B3 | 0.132 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DB9CEE
#DB9CEE
oklch(78.1% 0.131 318.2)
- #8DCC77
#8DCC77
oklch(78.2% 0.132 138)
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 #DB9CEE, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lilac #CEA2FD ΔE 0.029
- Plum #DDA0DD ΔE 0.029
- Baby Purple #CA9BF7 ΔE 0.030
- Pastel Purple #CAA0FF ΔE 0.035
- Pale Violet #CEAEFA ΔE 0.045
- Lavender Pink #DD85D7 ΔE 0.055
- Light Violet #D6B4FC ΔE 0.056
- Liliac #C48EFD ΔE 0.060
Use #DB9CEE 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.