#C98FEB
Closest named color: Liliac (#C48EFD). oklch(74% 0.142 312.2), rgb(201, 143, 235).
Aa
Black text reads best on this color (8.61:1).
About this color
#C98FEB is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.142 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.028 away. Black text reads best on it, at 8.61:1.
| Hue family | Purples |
| Lightness | medium-light (74%) |
| Chroma | vivid (0.142) |
| Temperature | in between |
| Nearest name | Liliac (#C48EFD) |
| Black text | 8.61:1 |
| White text | 2.43:1 |
Values
| HEX | #C98FEB |
| RGB | rgb(201, 143, 235) |
| HSL | hsl(278, 70%, 74%) |
| OKLCH | oklch(74% 0.142 312.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 #C98FEB | 2.43:1 | Fails | Lc -52.8 | Large or bold text, headings |
| Black text on #C98FEB | 8.61:1 | AAA | Lc 56.2 | Large or bold text, headings |
| #C98FEB text on white | 2.43:1 | Fails | Lc 47.8 | Large or bold text, headings |
| #C98FEB text on black | 8.61:1 | AAA | Lc -54.2 | 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
#F8F3FB
oklch(97% 0.012 313.2)
-
Step 100
100
#F0E5F7
oklch(93.6% 0.027 312.6)
-
Step 200
200
#E4D0F1
oklch(88.4% 0.049 312.2)
-
Step 300
300
#D4B0EA
oklch(80.8% 0.089 312.4)
-
Step 400
400 (this color)
#C98FEB
oklch(74% 0.142 312.2)
-
Step 500
500
#AE62D7
oklch(63.1% 0.182 312.3)
-
Step 600
600
#9945C4
oklch(55.6% 0.197 312.2)
-
Step 700
700
#8335A9
oklch(49.1% 0.183 312.5)
-
Step 800
800
#6A2E89
oklch(42.7% 0.151 312.1)
-
Step 900
900
#562A6E
oklch(37.7% 0.119 311.9)
-
Step 950
950
#331A40
oklch(27.1% 0.074 312.9)
#C98FEB 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) | #7EA3EE | 0.111 |
| Deuteranopia (no green cones) | #8CA7E8 | 0.102 |
| Tritanopia (no blue cones) | #C69CB2 | 0.099 |
| Achromatopsia (no color) | #A6A6A6 | 0.143 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C98FEB
#C98FEB
oklch(74% 0.142 312.2)
- #88BD5A
#88BD5A
oklch(73.9% 0.142 132.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 #C98FEB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Liliac #C48EFD ΔE 0.028
- Baby Purple #CA9BF7 ΔE 0.030
- Lavender Pink #DD85D7 ΔE 0.044
- Pastel Purple #CAA0FF ΔE 0.044
- Pale Purple #B790D4 ΔE 0.045
- Lilac #CEA2FD ΔE 0.049
- Plum #DDA0DD ΔE 0.063
- Light Purple #BF77F6 ΔE 0.065
Use #C98FEB 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.