#C576F2#C576F2
#C576F2 is a light, vivid violet. Relative luminance 0.312; OKLCH L 70.0% C 0.189 H 311.9°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #C576F2 |
|---|---|
| RGB | rgb(197, 118, 242) |
| HSL | hsl(278, 83%, 71%) |
| HSV | hsv(278, 51%, 95%) |
| CMYK | cmyk(18.6%, 51.2%, 0%, 5.1%) |
| CIE-LAB | lab(62.71, 51.96, -50.32) |
| CIE-LCH | lch(62.71, 72.33, 315.92°) |
| OKLab | oklab(70.02% 0.1261 -0.1406) |
| OKLCH | oklch(70.02% 0.189 311.9) |
| XYZ | xyz(45.5286, 31.2390, 87.6185) |
| Luminance | 0.3124 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.48
Easter Purple
#C071FE
ΔE00 2.63
Light Urple
#B36FF6
ΔE00 4.10
Bright Lavender
#C760FF
ΔE00 4.75
Bright Lilac
#C95EFB
ΔE00 4.86
Liliac
#C48EFD
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C576F2 #A3F276
analogous
#8776F2 #C576F2 #F276E1
triadic
#C576F2 #F2C576 #76F2C5
tetradic
#C576F2 #F28776 #A3F276 #76E1F2
square
#C576F2 #F28776 #A3F276 #76E1F2
split-complementary
#C576F2 #E1F276 #76F287
monochromatic
#9215D9 #AD3EED #C576F2 #DDAEF7 #F3E3FC
Accessibility & contrast
On white
2.90
#C576F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.25
#C576F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C576F2
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C576F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C576F2 | 1.00 | 2.90 | 7.25 | 7.25 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5694F6
Deuteranopia (green-blind)
#6F99EF
Tritanopia (blue-blind)
#C08AA9
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #c576f2; /* rgb */ color: rgb(197, 118, 242); /* oklch */ color: oklch(70.0% 0.189 311.9);
Tailwind
colors: {
custom: {
50: '#d9a0f7',
500: '#c576f2',
950: '#000000',
},
}SCSS
$custom: #c576f2; $custom-light: #d9a0f7; $custom-dark: #000000;
JSON
{
"hex": "#c576f2",
"rgb": {
"r": 197,
"g": 118,
"b": 242
},
"hsl": {
"h": 278.226,
"s": 82.667,
"l": 70.588
},
"oklch": {
"l": 0.70022,
"c": 0.18885,
"h": 311.9
},
"luminance": 0.31238
}Semantic roles & 50–950 ramp
primary
#C576F2
secondary
#DDF3D1
accent
#DF0655
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85