#C98EDD#C98EDD
#C98EDD is a light, vivid purple. Relative luminance 0.370; OKLCH L 73.2% C 0.128 H 317.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #C98EDD |
|---|---|
| RGB | rgb(201, 142, 221) |
| HSL | hsl(285, 54%, 71%) |
| HSV | hsv(285, 36%, 87%) |
| CMYK | cmyk(9%, 35.7%, 0%, 13.3%) |
| CIE-LAB | lab(67.27, 35.95, -31.54) |
| CIE-LCH | lch(67.27, 47.82, 318.74°) |
| OKLab | oklab(73.22% 0.0938 -0.0865) |
| OKLCH | oklch(73.22% 0.128 317.3) |
| XYZ | xyz(46.8097, 36.9851, 73.0656) |
| Luminance | 0.3698 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Pale Purple
#B790D4
ΔE00 3.90
Lavender Pink
#DD85D7
ΔE00 5.00
Lavender (survey)
#C79FEF
ΔE00 5.36
Baby Purple
#CA9BF7
ΔE00 5.38
Plum
#DDA0DD
ΔE00 6.42
Liliac
#C48EFD
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C98EDD #A2DD8E
analogous
#A18EDD #C98EDD #DD8EC9
triadic
#C98EDD #DDC98E #8EDDC9
tetradic
#C98EDD #DDA18E #A2DD8E #8EC9DD
square
#C98EDD #DDA18E #A2DD8E #8EC9DD
split-complementary
#C98EDD #C9DD8E #8EDDA1
monochromatic
#9838B9 #B35FCF #C98EDD #DFBDEB #F4E7F8
Accessibility & contrast
On white
2.50
#C98EDD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.40
#C98EDD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C98EDD
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C98EDD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C98EDD | 1.00 | 2.50 | 8.40 | 8.40 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83A0E0
Deuteranopia (green-blind)
#91A6DB
Tritanopia (blue-blind)
#C998AB
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #c98edd; /* rgb */ color: rgb(201, 142, 221); /* oklch */ color: oklch(73.2% 0.128 317.3);
Tailwind
colors: {
custom: {
50: '#dab0e7',
500: '#c98edd',
950: '#000000',
},
}SCSS
$custom: #c98edd; $custom-light: #dab0e7; $custom-dark: #000000;
JSON
{
"hex": "#c98edd",
"rgb": {
"r": 201,
"g": 142,
"b": 221
},
"hsl": {
"h": 284.81,
"s": 53.741,
"l": 71.176
},
"oklch": {
"l": 0.7322,
"c": 0.12757,
"h": 317.3
},
"luminance": 0.36984
}Semantic roles & 50–950 ramp
primary
#C98EDD
secondary
#DEEED9
accent
#C1244C
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151016
muted
#837F84