#C676F2#C676F2
#C676F2 is a light, vivid violet. Relative luminance 0.314; OKLCH L 70.1% C 0.189 H 312.3°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #C676F2 |
|---|---|
| RGB | rgb(198, 118, 242) |
| HSL | hsl(279, 83%, 71%) |
| HSV | hsv(279, 51%, 95%) |
| CMYK | cmyk(18.2%, 51.2%, 0%, 5.1%) |
| CIE-LAB | lab(62.82, 52.22, -50.13) |
| CIE-LCH | lch(62.82, 72.39, 316.17°) |
| OKLab | oklab(70.13% 0.1273 -0.14) |
| OKLCH | oklch(70.13% 0.189 312.3) |
| XYZ | xyz(45.7914, 31.3745, 87.6308) |
| Luminance | 0.3137 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.66
Easter Purple
#C071FE
ΔE00 2.76
Light Urple
#B36FF6
ΔE00 4.28
Bright Lavender
#C760FF
ΔE00 4.79
Bright Lilac
#C95EFB
ΔE00 4.88
Liliac
#C48EFD
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C676F2 #A2F276
analogous
#8876F2 #C676F2 #F276E0
triadic
#C676F2 #F2C676 #76F2C6
tetradic
#C676F2 #F28876 #A2F276 #76E0F2
square
#C676F2 #F28876 #A2F276 #76E0F2
split-complementary
#C676F2 #E0F276 #76F288
monochromatic
#9315D9 #AF3EED #C676F2 #DDAEF7 #F3E3FC
Accessibility & contrast
On white
2.89
#C676F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.27
#C676F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C676F2
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C676F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C676F2 | 1.00 | 2.89 | 7.27 | 7.27 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#709AEF
Tritanopia (blue-blind)
#C18AA9
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #c676f2; /* rgb */ color: rgb(198, 118, 242); /* oklch */ color: oklch(70.1% 0.189 312.3);
Tailwind
colors: {
custom: {
50: '#daa0f7',
500: '#c676f2',
950: '#000000',
},
}SCSS
$custom: #c676f2; $custom-light: #daa0f7; $custom-dark: #000000;
JSON
{
"hex": "#c676f2",
"rgb": {
"r": 198,
"g": 118,
"b": 242
},
"hsl": {
"h": 278.71,
"s": 82.667,
"l": 70.588
},
"oklch": {
"l": 0.70131,
"c": 0.18923,
"h": 312.3
},
"luminance": 0.31373
}Semantic roles & 50–950 ramp
primary
#C676F2
secondary
#DDF3D1
accent
#DF0653
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85