#C772F5#C772F5
#C772F5 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.8% C 0.199 H 312.3°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #C772F5 |
|---|---|
| RGB | rgb(199, 114, 245) |
| HSL | hsl(279, 87%, 70%) |
| HSV | hsv(279, 53%, 96%) |
| CMYK | cmyk(18.8%, 53.5%, 0%, 3.9%) |
| CIE-LAB | lab(62.31, 55.15, -52.59) |
| CIE-LCH | lch(62.31, 76.20, 316.36°) |
| OKLab | oklab(69.83% 0.1339 -0.1471) |
| OKLCH | oklch(69.83% 0.199 312.3) |
| XYZ | xyz(46.0490, 30.7704, 89.8820) |
| Luminance | 0.3077 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.81
Easter Purple
#C071FE
ΔE00 2.19
Bright Lavender
#C760FF
ΔE00 3.83
Light Urple
#B36FF6
ΔE00 3.90
Bright Lilac
#C95EFB
ΔE00 3.94
Heliotrope
#D94FF5
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C772F5 #A0F572
analogous
#8572F5 #C772F5 #F572E2
triadic
#C772F5 #F5C772 #72F5C7
tetradic
#C772F5 #F58572 #A0F572 #72E2F5
square
#C772F5 #F58572 #A0F572 #72E2F5
split-complementary
#C772F5 #E2F572 #72F585
monochromatic
#9510DD #B039F1 #C772F5 #DEABF9 #F4E2FD
Accessibility & contrast
On white
2.94
#C772F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.15
#C772F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C772F5
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C772F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C772F5 | 1.00 | 2.94 | 7.15 | 7.15 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E92F9
Deuteranopia (green-blind)
#6B99F2
Tritanopia (blue-blind)
#C288A9
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #c772f5; /* rgb */ color: rgb(199, 114, 245); /* oklch */ color: oklch(69.8% 0.199 312.3);
Tailwind
colors: {
custom: {
50: '#db9df9',
500: '#c772f5',
950: '#000000',
},
}SCSS
$custom: #c772f5; $custom-light: #db9df9; $custom-dark: #000000;
JSON
{
"hex": "#c772f5",
"rgb": {
"r": 199,
"g": 114,
"b": 245
},
"hsl": {
"h": 278.931,
"s": 86.755,
"l": 70.392
},
"oklch": {
"l": 0.6983,
"c": 0.19895,
"h": 312.3
},
"luminance": 0.30769
}Semantic roles & 50–950 ramp
primary
#C772F5
secondary
#DCF3CF
accent
#E30251
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85