#C77BF6#C77BF6
#C77BF6 is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.2% C 0.186 H 311.0°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #C77BF6 |
|---|---|
| RGB | rgb(199, 123, 246) |
| HSL | hsl(277, 87%, 72%) |
| HSV | hsv(277, 50%, 96%) |
| CMYK | cmyk(19.1%, 50%, 0%, 3.5%) |
| CIE-LAB | lab(64.13, 50.75, -50.26) |
| CIE-LCH | lch(64.13, 71.42, 315.27°) |
| OKLab | oklab(71.19% 0.1222 -0.1404) |
| OKLCH | oklch(71.19% 0.186 311) |
| XYZ | xyz(47.2677, 32.9628, 91.0433) |
| Luminance | 0.3296 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.82
Easter Purple
#C071FE
ΔE00 3.14
Liliac
#C48EFD
ΔE00 4.67
Light Urple
#B36FF6
ΔE00 4.83
Bright Lavender
#C760FF
ΔE00 5.68
Bright Lilac
#C95EFB
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C77BF6 #AAF67B
analogous
#897BF6 #C77BF6 #F67BE8
triadic
#C77BF6 #F6C77B #7BF6C7
tetradic
#C77BF6 #F6897B #AAF67B #7BE8F6
square
#C77BF6 #F6897B #AAF67B #7BE8F6
split-complementary
#C77BF6 #E8F67B #7BF689
monochromatic
#9510E7 #AF42F2 #C77BF6 #DFB4FA #F3E2FD
Accessibility & contrast
On white
2.77
#C77BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.59
#C77BF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C77BF6
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C77BF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C77BF6 | 1.00 | 2.77 | 7.59 | 7.59 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C98FA
Deuteranopia (green-blind)
#739DF3
Tritanopia (blue-blind)
#C28FAD
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c77bf6; /* rgb */ color: rgb(199, 123, 246); /* oklch */ color: oklch(71.2% 0.186 311.0);
Tailwind
colors: {
custom: {
50: '#daa3f9',
500: '#c77bf6',
950: '#000000',
},
}SCSS
$custom: #c77bf6; $custom-light: #daa3f9; $custom-dark: #000000;
JSON
{
"hex": "#c77bf6",
"rgb": {
"r": 199,
"g": 123,
"b": 246
},
"hsl": {
"h": 277.073,
"s": 87.234,
"l": 72.353
},
"oklch": {
"l": 0.71189,
"c": 0.18616,
"h": 311
},
"luminance": 0.32962
}Semantic roles & 50–950 ramp
primary
#C77BF6
secondary
#E2F5D6
accent
#E40258
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85