#DF98FF
Closest named color: Lilac (#CEA2FD). oklch(78.6% 0.159 314.8), rgb(223, 152, 255).
Aa
Black text reads best on this color (10.07:1).
About this color
#DF98FF is a light, vivid purple. In OKLCH its lightness is 79%, its chroma 0.159 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.034 away. Black text reads best on it, at 10.07:1.
| Hue family | Purples |
| Lightness | light (79%) |
| Chroma | vivid (0.159) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 10.07:1 |
| White text | 2.08:1 |
Values
| HEX | #DF98FF |
| RGB | rgb(223, 152, 255) |
| HSL | hsl(281, 100%, 80%) |
| OKLCH | oklch(78.6% 0.159 314.8) |
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 #DF98FF | 2.08:1 | Fails | Lc -45.1 | Large or bold text, headings |
| Black text on #DF98FF | 10.07:1 | AAA | Lc 63.4 | Content text, not long reading |
| #DF98FF text on white | 2.08:1 | Fails | Lc 40.6 | Non-text elements, placeholder text |
| #DF98FF text on black | 10.07:1 | AAA | Lc -61.7 | 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
#FBF2FF
oklch(97.2% 0.02 315.7)
-
Step 100
100
#F5E2FF
oklch(93.7% 0.044 314.2)
-
Step 200
200
#EEC9FF
oklch(88.4% 0.083 315.1)
-
Step 300
300 (this color)
#DF98FF
oklch(78.6% 0.159 314.8)
-
Step 400
400
#D36AFF
oklch(70.7% 0.225 314.7)
-
Step 500
500
#C824FF
oklch(63.2% 0.294 314.8)
-
Step 600
600
#AB00DD
oklch(55.5% 0.274 314.8)
-
Step 700
700
#9100BB
oklch(49.1% 0.242 315)
-
Step 800
800
#77009B
oklch(42.6% 0.21 314.7)
-
Step 900
900
#640083
oklch(37.7% 0.186 314.7)
-
Step 950
950
#3D0051
oklch(26.9% 0.133 314.9)
#DF98FF 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) | #86AFFF | 0.131 |
| Deuteranopia (no green cones) | #98B6FC | 0.119 |
| Tritanopia (no blue cones) | #DDA6C0 | 0.107 |
| Achromatopsia (no color) | #B4B4B4 | 0.160 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DF98FF
#DF98FF
oklch(78.6% 0.159 314.8)
- #8CCF61
#8CCF61
oklch(78.5% 0.159 134.6)
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 #DF98FF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lilac #CEA2FD ΔE 0.034
- Baby Purple #CA9BF7 ΔE 0.036
- Pastel Purple #CAA0FF ΔE 0.036
- Liliac #C48EFD ΔE 0.052
- Violet #EE82EE ΔE 0.052
- Plum #DDA0DD ΔE 0.058
- Pale Violet #CEAEFA ΔE 0.059
- Lavender Pink #DD85D7 ΔE 0.064
Use #DF98FF 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.