#C772F6#C772F6
#C772F6 is a light, highly saturated violet. Relative luminance 0.308; OKLCH L 69.9% C 0.200 H 312.1°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #C772F6 |
|---|---|
| RGB | rgb(199, 114, 246) |
| HSL | hsl(279, 88%, 71%) |
| HSV | hsv(279, 54%, 96%) |
| CMYK | cmyk(19.1%, 53.7%, 0%, 3.5%) |
| CIE-LAB | lab(62.37, 55.36, -53.06) |
| CIE-LCH | lch(62.37, 76.68, 316.21°) |
| OKLab | oklab(69.88% 0.134 -0.1485) |
| OKLCH | oklch(69.88% 0.2 312.1) |
| XYZ | xyz(46.2021, 30.8316, 90.6881) |
| Luminance | 0.3083 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.75
Easter Purple
#C071FE
ΔE00 2.06
Bright Lavender
#C760FF
ΔE00 3.77
Light Urple
#B36FF6
ΔE00 3.84
Bright Lilac
#C95EFB
ΔE00 3.91
Heliotrope
#D94FF5
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C772F6 #A1F672
analogous
#8572F6 #C772F6 #F672E3
triadic
#C772F6 #F6C772 #72F6C7
tetradic
#C772F6 #F68572 #A1F672 #72E3F6
square
#C772F6 #F68572 #A1F672 #72E3F6
split-complementary
#C772F6 #E3F672 #72F685
monochromatic
#950EDF #B038F2 #C772F6 #DEACFA #F4E2FD
Accessibility & contrast
On white
2.93
#C772F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#C772F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C772F6
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C772F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C772F6 | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E92FA
Deuteranopia (green-blind)
#6A99F3
Tritanopia (blue-blind)
#C288A9
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #c772f6; /* rgb */ color: rgb(199, 114, 246); /* oklch */ color: oklch(69.9% 0.200 312.1);
Tailwind
colors: {
custom: {
50: '#db9dfa',
500: '#c772f6',
950: '#000000',
},
}SCSS
$custom: #c772f6; $custom-light: #db9dfa; $custom-dark: #000000;
JSON
{
"hex": "#c772f6",
"rgb": {
"r": 199,
"g": 114,
"b": 246
},
"hsl": {
"h": 278.636,
"s": 88,
"l": 70.588
},
"oklch": {
"l": 0.69885,
"c": 0.20002,
"h": 312.1
},
"luminance": 0.30831
}Semantic roles & 50–950 ramp
primary
#C772F6
secondary
#DDF4D0
accent
#E50152
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85