#C477F8#C477F8
#C477F8 is a light, vivid violet. Relative luminance 0.317; OKLCH L 70.4% C 0.194 H 309.9°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #C477F8 |
|---|---|
| RGB | rgb(196, 119, 248) |
| HSL | hsl(276, 90%, 72%) |
| HSV | hsv(276, 52%, 97%) |
| CMYK | cmyk(21%, 52%, 0%, 2.7%) |
| CIE-LAB | lab(63.10, 52.47, -53.02) |
| CIE-LCH | lch(63.10, 74.59, 314.70°) |
| OKLab | oklab(70.39% 0.1241 -0.1485) |
| OKLCH | oklch(70.39% 0.194 309.9) |
| XYZ | xyz(46.3019, 31.7075, 92.4697) |
| Luminance | 0.3171 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 0.87
Easter Purple
#C071FE
ΔE00 1.94
Light Urple
#B36FF6
ΔE00 3.72
Bright Lavender
#C760FF
ΔE00 4.65
Bright Lilac
#C95EFB
ΔE00 4.93
Liliac
#C48EFD
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C477F8 #ABF877
analogous
#8477F8 #C477F8 #F877EC
triadic
#C477F8 #F8C477 #77F8C4
tetradic
#C477F8 #F88477 #ABF877 #77ECF8
square
#C477F8 #F88477 #ABF877 #77ECF8
split-complementary
#C477F8 #ECF877 #77F884
monochromatic
#900CE9 #AB3DF5 #C477F8 #DDB1FB #F2E2FE
Accessibility & contrast
On white
2.86
#C477F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.34
#C477F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C477F8
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C477F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C477F8 | 1.00 | 2.86 | 7.34 | 7.34 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5395FC
Deuteranopia (green-blind)
#6B9AF5
Tritanopia (blue-blind)
#BD8DAD
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #c477f8; /* rgb */ color: rgb(196, 119, 248); /* oklch */ color: oklch(70.4% 0.194 309.9);
Tailwind
colors: {
custom: {
50: '#d8a1fb',
500: '#c477f8',
950: '#000000',
},
}SCSS
$custom: #c477f8; $custom-light: #d8a1fb; $custom-dark: #000000;
JSON
{
"hex": "#c477f8",
"rgb": {
"r": 196,
"g": 119,
"b": 248
},
"hsl": {
"h": 275.814,
"s": 90.21,
"l": 71.961
},
"oklch": {
"l": 0.70386,
"c": 0.19351,
"h": 309.9
},
"luminance": 0.31707
}Semantic roles & 50–950 ramp
primary
#C477F8
secondary
#E2F6D5
accent
#E6005D
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85