#DB9DEC
Closest named color: Plum (#DDA0DD). oklch(78.2% 0.128 318.9), rgb(219, 157, 236).
Aa
Black text reads best on this color (10.04:1).
About this color
#DB9DEC is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.128 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum (#DDA0DD), ΔE 0.025 away. Black text reads best on it, at 10.04:1.
| Hue family | Purples |
| Lightness | light (78%) |
| Chroma | moderately saturated (0.128) |
| Temperature | in between |
| Nearest name | Plum (#DDA0DD) |
| Black text | 10.04:1 |
| White text | 2.09:1 |
Values
| HEX | #DB9DEC |
| RGB | rgb(219, 157, 236) |
| HSL | hsl(287, 68%, 77%) |
| OKLCH | oklch(78.2% 0.128 318.9) |
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 #DB9DEC | 2.09:1 | Fails | Lc -45.4 | Large or bold text, headings |
| Black text on #DB9DEC | 10.04:1 | AAA | Lc 63.2 | Content text, not long reading |
| #DB9DEC text on white | 2.09:1 | Fails | Lc 40.8 | Non-text elements, placeholder text |
| #DB9DEC text on black | 10.04:1 | AAA | Lc -61.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
#FBF2FD
oklch(97.1% 0.017 320.1)
-
Step 100
100
#F5E3FA
oklch(93.7% 0.036 318.9)
-
Step 200
200
#EECBF7
oklch(88.5% 0.07 319.3)
-
Step 300
300 (this color)
#DB9DEC
oklch(78.2% 0.128 318.9)
-
Step 400
400
#D56FF0
oklch(70.8% 0.204 318.9)
-
Step 500
500
#C83AEA
oklch(63.1% 0.261 318.9)
-
Step 600
600
#B100D3
oklch(55.7% 0.268 319)
-
Step 700
700
#9500B3
oklch(49.1% 0.237 318.7)
-
Step 800
800
#7B0094
oklch(42.7% 0.206 318.8)
-
Step 900
900
#650D79
oklch(37.7% 0.171 318.8)
-
Step 950
950
#3B0D47
oklch(27% 0.108 318.4)
#DB9DEC 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) | #93AFEF | 0.107 |
| Deuteranopia (no green cones) | #A2B5E9 | 0.098 |
| Tritanopia (no blue cones) | #DCA6BA | 0.083 |
| Achromatopsia (no color) | #B3B3B3 | 0.128 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DB9DEC
#DB9DEC
oklch(78.2% 0.128 318.9)
- #8DCC7B
#8DCC7B
oklch(78.3% 0.128 138.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 #DB9DEC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Plum #DDA0DD ΔE 0.025
- Lilac #CEA2FD ΔE 0.031
- Baby Purple #CA9BF7 ΔE 0.033
- Pastel Purple #CAA0FF ΔE 0.037
- Pale Violet #CEAEFA ΔE 0.043
- Light Violet #D6B4FC ΔE 0.054
- Lavender Pink #DD85D7 ΔE 0.056
- Liliac #C48EFD ΔE 0.064
Use #DB9DEC 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.