#C982FC#C982FC
#C982FC is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.8% C 0.183 H 309.4°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #C982FC |
|---|---|
| RGB | rgb(201, 130, 252) |
| HSL | hsl(275, 95%, 75%) |
| HSV | hsv(275, 48%, 99%) |
| CMYK | cmyk(20.2%, 48.4%, 0%, 1.2%) |
| CIE-LAB | lab(66.07, 48.91, -50.48) |
| CIE-LCH | lch(66.07, 70.29, 314.09°) |
| OKLab | oklab(72.77% 0.116 -0.141) |
| OKLCH | oklch(72.77% 0.183 309.4) |
| XYZ | xyz(49.6374, 35.4118, 96.2969) |
| Luminance | 0.3541 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.09
Light Purple
#BF77F6
ΔE00 3.11
Easter Purple
#C071FE
ΔE00 4.31
Light Urple
#B36FF6
ΔE00 6.01
Baby Purple
#CA9BF7
ΔE00 6.40
Bright Lavender
#C760FF
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C982FC #B5FC82
analogous
#8C82FC #C982FC #FC82F2
triadic
#C982FC #FCC982 #82FCC9
tetradic
#C982FC #FC8C82 #B5FC82 #82F2FC
square
#C982FC #FC8C82 #B5FC82 #82F2FC
split-complementary
#C982FC #F2FC82 #82FC8C
monochromatic
#950AF9 #AF46FB #C982FC #E3BEFD #F2E1FE
Accessibility & contrast
On white
2.60
#C982FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#C982FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C982FC
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C982FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C982FC | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#77A2F9
Tritanopia (blue-blind)
#C296B3
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #c982fc; /* rgb */ color: rgb(201, 130, 252); /* oklch */ color: oklch(72.8% 0.183 309.4);
Tailwind
colors: {
custom: {
50: '#dca8fe',
500: '#c982fc',
950: '#000000',
},
}SCSS
$custom: #c982fc; $custom-light: #dca8fe; $custom-dark: #000000;
JSON
{
"hex": "#c982fc",
"rgb": {
"r": 201,
"g": 130,
"b": 252
},
"hsl": {
"h": 274.918,
"s": 95.313,
"l": 74.902
},
"oklch": {
"l": 0.72772,
"c": 0.18257,
"h": 309.4
},
"luminance": 0.35411
}Semantic roles & 50–950 ramp
primary
#C982FC
secondary
#E3F7D4
accent
#E60060
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86