#C282FC#C282FC
#C282FC is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.1% C 0.180 H 306.6°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #C282FC |
|---|---|
| RGB | rgb(194, 130, 252) |
| HSL | hsl(271, 95%, 75%) |
| HSV | hsv(271, 48%, 99%) |
| CMYK | cmyk(23%, 48.4%, 0%, 1.2%) |
| CIE-LAB | lab(65.33, 47.06, -51.70) |
| CIE-LCH | lch(65.33, 69.91, 312.31°) |
| OKLab | oklab(72.06% 0.1076 -0.1447) |
| OKLCH | oklch(72.06% 0.18 306.6) |
| XYZ | xyz(47.7979, 34.4633, 96.2106) |
| Luminance | 0.3446 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.70
Liliac
#C48EFD
ΔE00 2.91
Easter Purple
#C071FE
ΔE00 3.92
Light Urple
#B36FF6
ΔE00 5.26
Baby Purple
#CA9BF7
ΔE00 6.63
Bright Lavender
#C760FF
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C282FC #BCFC82
analogous
#8582FC #C282FC #FC82F9
triadic
#C282FC #FCC282 #82FCC2
tetradic
#C282FC #FC8582 #BCFC82 #82F9FC
square
#C282FC #FC8582 #BCFC82 #82F9FC
split-complementary
#C282FC #F9FC82 #82FC85
monochromatic
#880AF9 #A546FB #C282FC #DFBEFD #F0E1FE
Accessibility & contrast
On white
2.66
#C282FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.89
#C282FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C282FC
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C282FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C282FC | 1.00 | 2.66 | 7.89 | 7.89 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#729FF9
Tritanopia (blue-blind)
#B997B3
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #c282fc; /* rgb */ color: rgb(194, 130, 252); /* oklch */ color: oklch(72.1% 0.180 306.6);
Tailwind
colors: {
custom: {
50: '#d7a8fe',
500: '#c282fc',
950: '#000000',
},
}SCSS
$custom: #c282fc; $custom-light: #d7a8fe; $custom-dark: #000000;
JSON
{
"hex": "#c282fc",
"rgb": {
"r": 194,
"g": 130,
"b": 252
},
"hsl": {
"h": 271.475,
"s": 95.313,
"l": 74.902
},
"oklch": {
"l": 0.72055,
"c": 0.18038,
"h": 306.6
},
"luminance": 0.34463
}Semantic roles & 50–950 ramp
primary
#C282FC
secondary
#E5F7D4
accent
#E6006D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86