#C985F2#C985F2
#C985F2 is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.7% C 0.166 H 311.6°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #C985F2 |
|---|---|
| RGB | rgb(201, 133, 242) |
| HSL | hsl(277, 81%, 74%) |
| HSV | hsv(277, 45%, 95%) |
| CMYK | cmyk(16.9%, 45%, 0%, 5.1%) |
| CIE-LAB | lab(66.22, 45.17, -44.76) |
| CIE-LCH | lch(66.22, 63.59, 315.26°) |
| OKLab | oklab(72.73% 0.1106 -0.1244) |
| OKLCH | oklch(72.73% 0.166 311.6) |
| XYZ | xyz(48.4991, 35.6043, 88.3046) |
| Luminance | 0.3560 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.17
Light Purple
#BF77F6
ΔE00 4.11
Baby Purple
#CA9BF7
ΔE00 5.47
Easter Purple
#C071FE
ΔE00 5.63
Pastel Purple
#CAA0FF
ΔE00 6.80
Lavender (survey)
#C79FEF
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C985F2 #AEF285
analogous
#9285F2 #C985F2 #F285E5
triadic
#C985F2 #F2C985 #85F2C9
tetradic
#C985F2 #F29285 #AEF285 #85E5F2
square
#C985F2 #F29285 #AEF285 #85E5F2
split-complementary
#C985F2 #E5F285 #85F292
monochromatic
#9818E4 #B14EEC #C985F2 #E1BCF8 #F3E3FC
Accessibility & contrast
On white
2.59
#C985F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.12
#C985F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C985F2
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C985F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C985F2 | 1.00 | 2.59 | 8.12 | 8.12 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D9DF6
Deuteranopia (green-blind)
#7FA2EF
Tritanopia (blue-blind)
#C596B0
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #c985f2; /* rgb */ color: rgb(201, 133, 242); /* oklch */ color: oklch(72.7% 0.166 311.6);
Tailwind
colors: {
custom: {
50: '#dbaaf7',
500: '#c985f2',
950: '#000000',
},
}SCSS
$custom: #c985f2; $custom-light: #dbaaf7; $custom-dark: #000000;
JSON
{
"hex": "#c985f2",
"rgb": {
"r": 201,
"g": 133,
"b": 242
},
"hsl": {
"h": 277.431,
"s": 80.741,
"l": 73.529
},
"oklch": {
"l": 0.72727,
"c": 0.16647,
"h": 311.6
},
"luminance": 0.35603
}Semantic roles & 50–950 ramp
primary
#C985F2
secondary
#E2F4D7
accent
#DD0858
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85