#C770F2#C770F2
#C770F2 is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.4% C 0.199 H 313.3°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #C770F2 |
|---|---|
| RGB | rgb(199, 112, 242) |
| HSL | hsl(280, 83%, 69%) |
| HSV | hsv(280, 54%, 95%) |
| CMYK | cmyk(17.8%, 53.7%, 0%, 5.1%) |
| CIE-LAB | lab(61.78, 55.52, -51.78) |
| CIE-LCH | lch(61.78, 75.92, 317.00°) |
| OKLab | oklab(69.38% 0.1363 -0.1448) |
| OKLCH | oklch(69.38% 0.199 313.3) |
| XYZ | xyz(45.3717, 30.1424, 87.4152) |
| Luminance | 0.3014 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.26
Easter Purple
#C071FE
ΔE00 2.55
Bright Lilac
#C95EFB
ΔE00 3.65
Bright Lavender
#C760FF
ΔE00 3.66
Light Urple
#B36FF6
ΔE00 4.00
Heliotrope
#D94FF5
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C770F2 #9BF270
analogous
#8670F2 #C770F2 #F270DC
triadic
#C770F2 #F2C770 #70F2C7
tetradic
#C770F2 #F28670 #9BF270 #70DCF2
square
#C770F2 #F28670 #9BF270 #70DCF2
split-complementary
#C770F2 #DCF270 #70F286
monochromatic
#9413D4 #B138ED #C770F2 #DDA8F7 #F3E0FC
Accessibility & contrast
On white
2.99
#C770F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.03
#C770F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C770F2
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C770F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C770F2 | 1.00 | 2.99 | 7.03 | 7.03 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E90F6
Deuteranopia (green-blind)
#6B97EF
Tritanopia (blue-blind)
#C386A7
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #c770f2; /* rgb */ color: rgb(199, 112, 242); /* oklch */ color: oklch(69.4% 0.199 313.3);
Tailwind
colors: {
custom: {
50: '#db9cf7',
500: '#c770f2',
950: '#000000',
},
}SCSS
$custom: #c770f2; $custom-light: #db9cf7; $custom-dark: #000000;
JSON
{
"hex": "#c770f2",
"rgb": {
"r": 199,
"g": 112,
"b": 242
},
"hsl": {
"h": 280.154,
"s": 83.333,
"l": 69.412
},
"oklch": {
"l": 0.69385,
"c": 0.19883,
"h": 313.3
},
"luminance": 0.30141
}Semantic roles & 50–950 ramp
primary
#C770F2
secondary
#D9F2CC
accent
#E0064E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85