#D299E8
Closest named color: Baby Purple (#CA9BF7). oklch(76.5% 0.125 316.3), rgb(210, 153, 232).
Aa
Black text reads best on this color (9.46:1).
About this color
#D299E8 is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.125 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.024 away. Black text reads best on it, at 9.46:1.
| Hue family | Purples |
| Lightness | medium-light (76%) |
| Chroma | moderately saturated (0.125) |
| Temperature | in between |
| Nearest name | Baby Purple (#CA9BF7) |
| Black text | 9.46:1 |
| White text | 2.21:1 |
Values
| HEX | #D299E8 |
| RGB | rgb(210, 153, 232) |
| HSL | hsl(283, 63%, 75%) |
| OKLCH | oklch(76.5% 0.125 316.3) |
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 #D299E8 | 2.21:1 | Fails | Lc -48.4 | Large or bold text, headings |
| Black text on #D299E8 | 9.46:1 | AAA | Lc 60.4 | Content text, not long reading |
| #D299E8 text on white | 2.21:1 | Fails | Lc 43.6 | Non-text elements, placeholder text |
| #D299E8 text on black | 9.46:1 | AAA | Lc -58.6 | 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
#FAF2FD
oklch(97% 0.017 316.9)
-
Step 100
100
#F4E3FB
oklch(93.6% 0.037 316.2)
-
Step 200
200
#ECCCF9
oklch(88.6% 0.07 316.2)
-
Step 300
300 (this color)
#D299E8
oklch(76.5% 0.125 316.3)
-
Step 400
400
#D072F3
oklch(70.7% 0.2 316.1)
-
Step 500
500
#C340EE
oklch(63.2% 0.256 316.2)
-
Step 600
600
#AD00DA
oklch(55.6% 0.272 316.1)
-
Step 700
700
#9200B8
oklch(49% 0.24 316.2)
-
Step 800
800
#790098
oklch(42.7% 0.209 316.6)
-
Step 900
900
#62127B
oklch(37.7% 0.167 316.1)
-
Step 950
950
#3A0F48
oklch(27.1% 0.106 316.5)
#D299E8 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) | #8DAAEB | 0.102 |
| Deuteranopia (no green cones) | #9BB0E6 | 0.094 |
| Tritanopia (no blue cones) | #D1A3B6 | 0.084 |
| Achromatopsia (no color) | #AEAEAE | 0.126 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D299E8
#D299E8
oklch(76.5% 0.125 316.3)
- #8DC573
#8DC573
oklch(76.5% 0.126 136.3)
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 #D299E8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Baby Purple #CA9BF7 ΔE 0.024
- Lilac #CEA2FD ΔE 0.033
- Plum #DDA0DD ΔE 0.033
- Pastel Purple #CAA0FF ΔE 0.035
- Lavender Pink #DD85D7 ΔE 0.048
- Pale Violet #CEAEFA ΔE 0.051
- Liliac #C48EFD ΔE 0.052
- Pale Purple #B790D4 ΔE 0.056
Use #D299E8 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.