#D98ECF
Closest named color: Lavender Pink (#DD85D7). oklch(74.3% 0.123 331.6), rgb(217, 142, 207).
Aa
Black text reads best on this color (8.72:1).
About this color
#D98ECF is a medium-light, moderately saturated purple. In OKLCH its lightness is 74%, its chroma 0.123 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.027 away. Black text reads best on it, at 8.72:1.
| Hue family | Purples |
| Lightness | medium-light (74%) |
| Chroma | moderately saturated (0.123) |
| Temperature | in between |
| Nearest name | Lavender Pink (#DD85D7) |
| Black text | 8.72:1 |
| White text | 2.40:1 |
Values
| HEX | #D98ECF |
| RGB | rgb(217, 142, 207) |
| HSL | hsl(308, 50%, 70%) |
| OKLCH | oklch(74.3% 0.123 331.6) |
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 #D98ECF | 2.40:1 | Fails | Lc -52.2 | Large or bold text, headings |
| Black text on #D98ECF | 8.72:1 | AAA | Lc 56.7 | Large or bold text, headings |
| #D98ECF text on white | 2.40:1 | Fails | Lc 47.3 | Large or bold text, headings |
| #D98ECF text on black | 8.72:1 | AAA | Lc -54.8 | 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 400.
-
Step 50
50
#FAF3F9
oklch(97.1% 0.011 330.1)
-
Step 100
100
#F3E5F1
oklch(93.6% 0.022 330.3)
-
Step 200
200
#EBCFE6
oklch(88.5% 0.044 331.9)
-
Step 300
300
#DFAFD7
oklch(81% 0.077 332)
-
Step 400
400 (this color)
#D98ECF
oklch(74.3% 0.123 331.6)
-
Step 500
500
#BE61B4
oklch(63.1% 0.157 331.4)
-
Step 600
600
#A945A0
oklch(55.6% 0.171 331.2)
-
Step 700
700
#913589
oklch(49.1% 0.16 331.3)
-
Step 800
800
#762D6F
oklch(42.7% 0.133 331.5)
-
Step 900
900
#602A5A
oklch(37.9% 0.103 331.8)
-
Step 950
950
#381935
oklch(27% 0.065 330.9)
#D98ECF 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) | #8CA1D1 | 0.119 |
| Deuteranopia (no green cones) | #9FABCD | 0.109 |
| Tritanopia (no blue cones) | #DF92A6 | 0.065 |
| Achromatopsia (no color) | #A7A7A7 | 0.124 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D98ECF
#D98ECF
oklch(74.3% 0.123 331.6)
- #6BC284
#6BC284
oklch(74.3% 0.124 151.7)
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 #D98ECF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Pink #DD85D7 ΔE 0.027
- Plum #DDA0DD ΔE 0.044
- Pale Purple #B790D4 ΔE 0.055
- Baby Purple #CA9BF7 ΔE 0.062
- Bubblegum Pink #FE83CC ΔE 0.064
- Pig Pink #E78EA5 ΔE 0.065
- Violet #EE82EE ΔE 0.066
- Dull Pink #D5869D ΔE 0.071
Use #D98ECF 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.