#C982FE#C982FE
#C982FE is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.9% C 0.185 H 308.9°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #C982FE |
|---|---|
| RGB | rgb(201, 130, 254) |
| HSL | hsl(274, 98%, 75%) |
| HSV | hsv(274, 49%, 100%) |
| CMYK | cmyk(20.9%, 48.8%, 0%, 0.4%) |
| CIE-LAB | lab(66.17, 49.34, -51.42) |
| CIE-LCH | lch(66.17, 71.26, 313.82°) |
| OKLab | oklab(72.88% 0.1162 -0.1437) |
| OKLCH | oklch(72.88% 0.185 308.9) |
| XYZ | xyz(49.9560, 35.5392, 97.9748) |
| Luminance | 0.3554 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.07
Light Purple
#BF77F6
ΔE00 3.13
Easter Purple
#C071FE
ΔE00 4.23
Light Urple
#B36FF6
ΔE00 5.97
Baby Purple
#CA9BF7
ΔE00 6.48
Bright Lavender
#C760FF
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C982FE #B7FE82
analogous
#8B82FE #C982FE #FE82F5
triadic
#C982FE #FEC982 #82FEC9
tetradic
#C982FE #FE8B82 #B7FE82 #82F5FE
square
#C982FE #FE8B82 #B7FE82 #82F5FE
split-complementary
#C982FE #F5FE82 #82FE8B
monochromatic
#9509FD #AF45FE #C982FE #E3BFFE #F2E1FF
Accessibility & contrast
On white
2.59
#C982FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.11
#C982FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C982FE
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C982FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C982FE | 1.00 | 2.59 | 8.11 | 8.11 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#629EFF
Deuteranopia (green-blind)
#76A2FB
Tritanopia (blue-blind)
#C297B4
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #c982fe; /* rgb */ color: rgb(201, 130, 254); /* oklch */ color: oklch(72.9% 0.185 308.9);
Tailwind
colors: {
custom: {
50: '#dca8ff',
500: '#c982fe',
950: '#000000',
},
}SCSS
$custom: #c982fe; $custom-light: #dca8ff; $custom-dark: #000000;
JSON
{
"hex": "#c982fe",
"rgb": {
"r": 201,
"g": 130,
"b": 254
},
"hsl": {
"h": 274.355,
"s": 98.413,
"l": 75.294
},
"oklch": {
"l": 0.72877,
"c": 0.18482,
"h": 308.9
},
"luminance": 0.35539
}Semantic roles & 50–950 ramp
primary
#C982FE
secondary
#E3F7D4
accent
#E60062
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86