#C77BF2#C77BF2
#C77BF2 is a light, vivid violet. Relative luminance 0.327; OKLCH L 71.0% C 0.182 H 312.1°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #C77BF2 |
|---|---|
| RGB | rgb(199, 123, 242) |
| HSL | hsl(278, 82%, 72%) |
| HSV | hsv(278, 49%, 95%) |
| CMYK | cmyk(17.8%, 49.2%, 0%, 5.1%) |
| CIE-LAB | lab(63.93, 49.89, -48.37) |
| CIE-LCH | lch(63.93, 69.49, 315.89°) |
| OKLab | oklab(70.98% 0.1218 -0.1349) |
| OKLCH | oklch(70.98% 0.182 312.1) |
| XYZ | xyz(46.6604, 32.7198, 87.8447) |
| Luminance | 0.3272 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.14
Easter Purple
#C071FE
ΔE00 3.56
Liliac
#C48EFD
ΔE00 4.86
Light Urple
#B36FF6
ΔE00 5.07
Bright Lavender
#C760FF
ΔE00 5.90
Bright Lilac
#C95EFB
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C77BF2 #A6F27B
analogous
#8C7BF2 #C77BF2 #F27BE2
triadic
#C77BF2 #F2C77B #7BF2C7
tetradic
#C77BF2 #F28C7B #A6F27B #7BE2F2
square
#C77BF2 #F28C7B #A6F27B #7BE2F2
split-complementary
#C77BF2 #E2F27B #7BF28C
monochromatic
#9516DD #AF43ED #C77BF2 #DFB3F7 #F3E3FC
Accessibility & contrast
On white
2.78
#C77BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.54
#C77BF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C77BF2
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C77BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C77BF2 | 1.00 | 2.78 | 7.54 | 7.54 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F97F6
Deuteranopia (green-blind)
#759DEF
Tritanopia (blue-blind)
#C38EAB
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c77bf2; /* rgb */ color: rgb(199, 123, 242); /* oklch */ color: oklch(71.0% 0.182 312.1);
Tailwind
colors: {
custom: {
50: '#daa3f7',
500: '#c77bf2',
950: '#000000',
},
}SCSS
$custom: #c77bf2; $custom-light: #daa3f7; $custom-dark: #000000;
JSON
{
"hex": "#c77bf2",
"rgb": {
"r": 199,
"g": 123,
"b": 242
},
"hsl": {
"h": 278.319,
"s": 82.069,
"l": 71.569
},
"oklch": {
"l": 0.70978,
"c": 0.18176,
"h": 312.1
},
"luminance": 0.32719
}Semantic roles & 50–950 ramp
primary
#C77BF2
secondary
#E0F4D5
accent
#DE0755
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85