#D799EB
Closest named color: Baby Purple (#CA9BF7). oklch(77.1% 0.131 317.7), rgb(215, 153, 235).
Aa
Black text reads best on this color (9.64:1).
About this color
#D799EB is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, 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 Baby Purple (#CA9BF7), ΔE 0.026 away. Black text reads best on it, at 9.64:1.
| Hue family | Purples |
| Lightness | medium-light (77%) |
| Chroma | moderately saturated (0.131) |
| Temperature | in between |
| Nearest name | Baby Purple (#CA9BF7) |
| Black text | 9.64:1 |
| White text | 2.17:1 |
Values
| HEX | #D799EB |
| RGB | rgb(215, 153, 235) |
| HSL | hsl(285, 67%, 76%) |
| OKLCH | oklch(77.1% 0.131 317.7) |
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 #D799EB | 2.17:1 | Fails | Lc -47.4 | Large or bold text, headings |
| Black text on #D799EB | 9.64:1 | AAA | Lc 61.3 | Content text, not long reading |
| #D799EB text on white | 2.17:1 | Fails | Lc 42.7 | Non-text elements, placeholder text |
| #D799EB text on black | 9.64:1 | AAA | Lc -59.5 | Large or bold text, headings |
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)
#D799EB
oklch(77.1% 0.131 317.7)
-
Step 400
400
#D46EF4
oklch(70.7% 0.209 317.5)
-
Step 500
500
#C836EF
oklch(63.1% 0.268 317.9)
-
Step 600
600
#AF00D6
oklch(55.6% 0.27 317.7)
-
Step 700
700
#9400B5
oklch(49.1% 0.238 317.8)
-
Step 800
800
#7A0096
oklch(42.7% 0.207 317.7)
-
Step 900
900
#65097C
oklch(37.7% 0.176 317.6)
-
Step 950
950
#3B0C48
oklch(26.9% 0.11 317.8)
#D799EB 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) | #8EACEE | 0.109 |
| Deuteranopia (no green cones) | #9CB2E8 | 0.101 |
| Tritanopia (no blue cones) | #D7A3B7 | 0.087 |
| Achromatopsia (no color) | #B0B0B0 | 0.132 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D799EB
#D799EB
oklch(77.1% 0.131 317.7)
- #8AC874
#8AC874
oklch(77.1% 0.131 137.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 #D799EB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Baby Purple #CA9BF7 ΔE 0.026
- Lilac #CEA2FD ΔE 0.031
- Plum #DDA0DD ΔE 0.032
- Pastel Purple #CAA0FF ΔE 0.035
- Lavender Pink #DD85D7 ΔE 0.048
- Pale Violet #CEAEFA ΔE 0.050
- Liliac #C48EFD ΔE 0.053
- Violet #EE82EE ΔE 0.061
Use #D799EB 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.