#DE98F3
Closest named color: Baby Purple (#CA9BF7). oklch(78% 0.145 318.2), rgb(222, 152, 243).
Aa
Black text reads best on this color (9.89:1).
About this color
#DE98F3 is a medium-light, vivid purple. In OKLCH its lightness is 78%, its chroma 0.145 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.032 away. Black text reads best on it, at 9.89:1.
| Hue family | Purples |
| Lightness | medium-light (78%) |
| Chroma | vivid (0.145) |
| Temperature | in between |
| Nearest name | Baby Purple (#CA9BF7) |
| Black text | 9.89:1 |
| White text | 2.12:1 |
Values
| HEX | #DE98F3 |
| RGB | rgb(222, 152, 243) |
| HSL | hsl(286, 79%, 77%) |
| OKLCH | oklch(78% 0.145 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 #DE98F3 | 2.12:1 | Fails | Lc -46.1 | Large or bold text, headings |
| Black text on #DE98F3 | 9.89:1 | AAA | Lc 62.5 | Content text, not long reading |
| #DE98F3 text on white | 2.12:1 | Fails | Lc 41.5 | Non-text elements, placeholder text |
| #DE98F3 text on black | 9.89:1 | AAA | Lc -60.8 | 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
#FBF2FE
oklch(97.2% 0.018 317.7)
-
Step 100
100
#F6E2FC
oklch(93.7% 0.041 318.4)
-
Step 200
200
#F0C9FC
oklch(88.5% 0.08 318.2)
-
Step 300
300 (this color)
#DE98F3
oklch(78% 0.145 318.2)
-
Step 400
400
#DA65FC
oklch(70.7% 0.232 318)
-
Step 500
500
#CF17F9
oklch(63.2% 0.297 318.2)
-
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
#67007E
oklch(37.8% 0.183 318.1)
-
Step 950
950
#3E054C
oklch(27.1% 0.123 318.2)
#DE98F3 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) | #8BADF6 | 0.123 |
| Deuteranopia (no green cones) | #9CB4F0 | 0.113 |
| Tritanopia (no blue cones) | #DEA3BA | 0.095 |
| Achromatopsia (no color) | #B2B2B2 | 0.146 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DE98F3
#DE98F3
oklch(78% 0.145 318.2)
- #87CD6F
#87CD6F
oklch(78% 0.145 138.1)
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 #DE98F3, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Baby Purple #CA9BF7 ΔE 0.032
- Lilac #CEA2FD ΔE 0.033
- Pastel Purple #CAA0FF ΔE 0.036
- Plum #DDA0DD ΔE 0.042
- Violet #EE82EE ΔE 0.052
- Lavender Pink #DD85D7 ΔE 0.052
- Liliac #C48EFD ΔE 0.054
- Pale Violet #CEAEFA ΔE 0.054
Use #DE98F3 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.