#C98DCD#C98DCD
#C98DCD is a light, moderate purple. Relative luminance 0.359; OKLCH L 72.4% C 0.112 H 324.5°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #C98DCD |
|---|---|
| RGB | rgb(201, 141, 205) |
| HSL | hsl(296, 39%, 68%) |
| HSV | hsv(296, 31%, 80%) |
| CMYK | cmyk(2%, 31.2%, 0%, 19.6%) |
| CIE-LAB | lab(66.43, 33.35, -23.94) |
| CIE-LCH | lch(66.43, 41.05, 324.32°) |
| OKLab | oklab(72.38% 0.0912 -0.065) |
| OKLCH | oklch(72.38% 0.112 324.5) |
| XYZ | xyz(44.6306, 35.8765, 62.3196) |
| Luminance | 0.3588 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 4.48
Pale Purple
#B790D4
ΔE00 5.07
Plum
#DDA0DD
ΔE00 5.46
Orchid (survey)
#C875C4
ΔE00 6.15
Lilac
#C8A2C8
ΔE00 7.50
Wisteria
#A87DC2
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C98DCD #91CD8D
analogous
#A98DCD #C98DCD #CD8DB1
triadic
#C98DCD #CDC98D #8DCDC9
tetradic
#C98DCD #CDA98D #91CD8D #8DB1CD
square
#C98DCD #CDA98D #91CD8D #8DB1CD
split-complementary
#C98DCD #B1CD8D #8DCDA9
monochromatic
#96449B #B562BA #C98DCD #DDB8E0 #F1E2F2
Accessibility & contrast
On white
2.57
#C98DCD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.17
#C98DCD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C98DCD
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C98DCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C98DCD | 1.00 | 2.57 | 8.17 | 8.17 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#889DCF
Deuteranopia (green-blind)
#96A4CB
Tritanopia (blue-blind)
#CC93A4
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #c98dcd; /* rgb */ color: rgb(201, 141, 205); /* oklch */ color: oklch(72.4% 0.112 324.5);
Tailwind
colors: {
custom: {
50: '#daafdc',
500: '#c98dcd',
950: '#000000',
},
}SCSS
$custom: #c98dcd; $custom-light: #daafdc; $custom-dark: #000000;
JSON
{
"hex": "#c98dcd",
"rgb": {
"r": 201,
"g": 141,
"b": 205
},
"hsl": {
"h": 296.25,
"s": 39.024,
"l": 67.843
},
"oklch": {
"l": 0.7238,
"c": 0.11202,
"h": 324.5
},
"luminance": 0.35875
}Semantic roles & 50–950 ramp
primary
#C98DCD
secondary
#D2E5D1
accent
#B2333B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83