#C477F2#C477F2
#C477F2 is a light, vivid violet. Relative luminance 0.313; OKLCH L 70.1% C 0.187 H 311.4°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #C477F2 |
|---|---|
| RGB | rgb(196, 119, 242) |
| HSL | hsl(278, 83%, 71%) |
| HSV | hsv(278, 51%, 95%) |
| CMYK | cmyk(19%, 50.8%, 0%, 5.1%) |
| CIE-LAB | lab(62.79, 51.18, -50.19) |
| CIE-LCH | lch(62.79, 71.68, 315.56°) |
| OKLab | oklab(70.06% 0.1236 -0.1403) |
| OKLCH | oklch(70.06% 0.187 311.4) |
| XYZ | xyz(45.3859, 31.3411, 87.6457) |
| Luminance | 0.3134 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.32
Easter Purple
#C071FE
ΔE00 2.64
Light Urple
#B36FF6
ΔE00 4.05
Bright Lavender
#C760FF
ΔE00 4.93
Bright Lilac
#C95EFB
ΔE00 5.07
Liliac
#C48EFD
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C477F2 #A5F277
analogous
#8677F2 #C477F2 #F277E2
triadic
#C477F2 #F2C477 #77F2C4
tetradic
#C477F2 #F28677 #A5F277 #77E2F2
square
#C477F2 #F28677 #A5F277 #77E2F2
split-complementary
#C477F2 #E2F277 #77F286
monochromatic
#9015DA #AC3FED #C477F2 #DCAFF7 #F3E3FC
Accessibility & contrast
On white
2.89
#C477F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.27
#C477F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C477F2
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C477F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C477F2 | 1.00 | 2.89 | 7.27 | 7.27 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#6F99EF
Tritanopia (blue-blind)
#BF8BAA
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #c477f2; /* rgb */ color: rgb(196, 119, 242); /* oklch */ color: oklch(70.1% 0.187 311.4);
Tailwind
colors: {
custom: {
50: '#d8a0f7',
500: '#c477f2',
950: '#000000',
},
}SCSS
$custom: #c477f2; $custom-light: #d8a0f7; $custom-dark: #000000;
JSON
{
"hex": "#c477f2",
"rgb": {
"r": 196,
"g": 119,
"b": 242
},
"hsl": {
"h": 277.561,
"s": 82.55,
"l": 70.784
},
"oklch": {
"l": 0.7006,
"c": 0.18692,
"h": 311.4
},
"luminance": 0.3134
}Semantic roles & 50–950 ramp
primary
#C477F2
secondary
#DEF3D2
accent
#DF0757
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85