#C772F2#C772F2
#C772F2 is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.7% C 0.196 H 313.1°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #C772F2 |
|---|---|
| RGB | rgb(199, 114, 242) |
| HSL | hsl(280, 83%, 70%) |
| HSV | hsv(280, 53%, 95%) |
| CMYK | cmyk(17.8%, 52.9%, 0%, 5.1%) |
| CIE-LAB | lab(62.16, 54.52, -51.18) |
| CIE-LCH | lch(62.16, 74.77, 316.81°) |
| OKLab | oklab(69.67% 0.1337 -0.143) |
| OKLCH | oklch(69.67% 0.196 313.1) |
| XYZ | xyz(45.5948, 30.5887, 87.4895) |
| Luminance | 0.3059 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.04
Easter Purple
#C071FE
ΔE00 2.60
Bright Lavender
#C760FF
ΔE00 4.04
Bright Lilac
#C95EFB
ΔE00 4.06
Light Urple
#B36FF6
ΔE00 4.11
Heliotrope
#D94FF5
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C772F2 #9DF272
analogous
#8772F2 #C772F2 #F272DD
triadic
#C772F2 #F2C772 #72F2C7
tetradic
#C772F2 #F28772 #9DF272 #72DDF2
square
#C772F2 #F28772 #9DF272 #72DDF2
split-complementary
#C772F2 #DDF272 #72F287
monochromatic
#9514D6 #B13AED #C772F2 #DDAAF7 #F4E2FC
Accessibility & contrast
On white
2.95
#C772F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.12
#C772F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C772F2
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C772F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C772F2 | 1.00 | 2.95 | 7.12 | 7.12 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5192F6
Deuteranopia (green-blind)
#6D98EF
Tritanopia (blue-blind)
#C387A7
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #c772f2; /* rgb */ color: rgb(199, 114, 242); /* oklch */ color: oklch(69.7% 0.196 313.1);
Tailwind
colors: {
custom: {
50: '#db9df7',
500: '#c772f2',
950: '#000000',
},
}SCSS
$custom: #c772f2; $custom-light: #db9df7; $custom-dark: #000000;
JSON
{
"hex": "#c772f2",
"rgb": {
"r": 199,
"g": 114,
"b": 242
},
"hsl": {
"h": 279.844,
"s": 83.117,
"l": 69.804
},
"oklch": {
"l": 0.69667,
"c": 0.19578,
"h": 313.1
},
"luminance": 0.30588
}Semantic roles & 50–950 ramp
primary
#C772F2
secondary
#DAF2CE
accent
#E0064F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85