#C582FC#C582FC
#C582FC is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.4% C 0.181 H 307.8°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #C582FC |
|---|---|
| RGB | rgb(197, 130, 252) |
| HSL | hsl(273, 95%, 75%) |
| HSV | hsv(273, 48%, 99%) |
| CMYK | cmyk(21.8%, 48.4%, 0%, 1.2%) |
| CIE-LAB | lab(65.64, 47.85, -51.18) |
| CIE-LCH | lch(65.64, 70.06, 313.07°) |
| OKLab | oklab(72.36% 0.1112 -0.1431) |
| OKLCH | oklch(72.36% 0.181 307.8) |
| XYZ | xyz(48.5758, 34.8644, 96.2471) |
| Luminance | 0.3486 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.80
Liliac
#C48EFD
ΔE00 2.92
Easter Purple
#C071FE
ΔE00 4.04
Light Urple
#B36FF6
ΔE00 5.55
Baby Purple
#CA9BF7
ΔE00 6.50
Bright Lavender
#C760FF
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C582FC #B9FC82
analogous
#8882FC #C582FC #FC82F6
triadic
#C582FC #FCC582 #82FCC5
tetradic
#C582FC #FC8882 #B9FC82 #82F6FC
square
#C582FC #FC8882 #B9FC82 #82F6FC
split-complementary
#C582FC #F6FC82 #82FC88
monochromatic
#8E0AF9 #A946FB #C582FC #E1BEFD #F1E1FE
Accessibility & contrast
On white
2.63
#C582FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#C582FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C582FC
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C582FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C582FC | 1.00 | 2.63 | 7.97 | 7.97 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#74A0F9
Tritanopia (blue-blind)
#BD97B3
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #c582fc; /* rgb */ color: rgb(197, 130, 252); /* oklch */ color: oklch(72.4% 0.181 307.8);
Tailwind
colors: {
custom: {
50: '#d9a8fe',
500: '#c582fc',
950: '#000000',
},
}SCSS
$custom: #c582fc; $custom-light: #d9a8fe; $custom-dark: #000000;
JSON
{
"hex": "#c582fc",
"rgb": {
"r": 197,
"g": 130,
"b": 252
},
"hsl": {
"h": 272.951,
"s": 95.313,
"l": 74.902
},
"oklch": {
"l": 0.7236,
"c": 0.18127,
"h": 307.8
},
"luminance": 0.34864
}Semantic roles & 50–950 ramp
primary
#C582FC
secondary
#E4F7D4
accent
#E60067
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86