#E798FE
Closest named color: Lilac (#CEA2FD). oklch(79.4% 0.162 318.4), rgb(231, 152, 254).
Aa
Black text reads best on this color (10.32:1).
About this color
#E798FE is a light, vivid purple. In OKLCH its lightness is 79%, its chroma 0.162 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.044 away. Black text reads best on it, at 10.32:1.
| Hue family | Purples |
| Lightness | light (79%) |
| Chroma | vivid (0.162) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 10.32:1 |
| White text | 2.03:1 |
Values
| HEX | #E798FE |
| RGB | rgb(231, 152, 254) |
| HSL | hsl(286, 98%, 80%) |
| OKLCH | oklch(79.4% 0.162 318.4) |
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 #E798FE | 2.03:1 | Fails | Lc -43.9 | Non-text elements, placeholder text |
| Black text on #E798FE | 10.32:1 | AAA | Lc 64.6 | Content text, not long reading |
| #E798FE text on white | 2.03:1 | Fails | Lc 39.4 | Non-text elements, placeholder text |
| #E798FE text on black | 10.32:1 | AAA | Lc -63.0 | 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
#FCF1FF
oklch(97.1% 0.022 319)
-
Step 100
100
#F8E1FE
oklch(93.7% 0.046 319.2)
-
Step 200
200
#F2C7FF
oklch(88.4% 0.088 318.3)
-
Step 300
300 (this color)
#E798FE
oklch(79.4% 0.162 318.4)
-
Step 400
400
#DD60FF
oklch(70.7% 0.243 318.4)
-
Step 500
500
#D100FB
oklch(63.2% 0.305 318.5)
-
Step 600
600
#B000D4
oklch(55.6% 0.269 318.5)
-
Step 700
700
#9500B4
oklch(49.2% 0.238 318.4)
-
Step 800
800
#7B0095
oklch(42.8% 0.207 318.4)
-
Step 900
900
#67007D
oklch(37.7% 0.182 318.5)
-
Step 950
950
#3F004E
oklch(27% 0.131 318.2)
#E798FE 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) | #89B0FF | 0.139 |
| Deuteranopia (no green cones) | #9DB8FB | 0.126 |
| Tritanopia (no blue cones) | #E7A5BF | 0.105 |
| Achromatopsia (no color) | #B6B6B6 | 0.163 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #E798FE
#E798FE
oklch(79.4% 0.162 318.4)
- #84D46A
#84D46A
oklch(79.4% 0.162 138.5)
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 #E798FE, closest first.
No curated palette has a color within ΔE 0.04 of #E798FE.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lilac #CEA2FD ΔE 0.044
- Pastel Purple #CAA0FF ΔE 0.047
- Baby Purple #CA9BF7 ΔE 0.047
- Violet #EE82EE ΔE 0.048
- Plum #DDA0DD ΔE 0.058
- Pale Violet #CEAEFA ΔE 0.063
- Liliac #C48EFD ΔE 0.064
- Lavender Pink #DD85D7 ΔE 0.066
Use #E798FE 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.