#C477EF#C477EF
#C477EF is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.9% C 0.184 H 312.2°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #C477EF |
|---|---|
| RGB | rgb(196, 119, 239) |
| HSL | hsl(279, 79%, 70%) |
| HSV | hsv(279, 50%, 94%) |
| CMYK | cmyk(18%, 50.2%, 0%, 6.3%) |
| CIE-LAB | lab(62.64, 50.54, -48.77) |
| CIE-LCH | lch(62.64, 70.23, 316.02°) |
| OKLab | oklab(69.9% 0.1233 -0.1361) |
| OKLCH | oklch(69.9% 0.184 312.2) |
| XYZ | xyz(44.9390, 31.1624, 85.2922) |
| Luminance | 0.3116 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.72
Easter Purple
#C071FE
ΔE00 3.05
Light Urple
#B36FF6
ΔE00 4.30
Bright Lavender
#C760FF
ΔE00 5.13
Bright Lilac
#C95EFB
ΔE00 5.21
Liliac
#C48EFD
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C477EF #A2EF77
analogous
#8877EF #C477EF #EF77DE
triadic
#C477EF #EFC477 #77EFC4
tetradic
#C477EF #EF8877 #A2EF77 #77DEEF
square
#C477EF #EF8877 #A2EF77 #77DEEF
split-complementary
#C477EF #DEEF77 #77EF88
monochromatic
#9019D3 #AC40E9 #C477EF #DCAEF5 #F3E4FC
Accessibility & contrast
On white
2.90
#C477EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#C477EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C477EF
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C477EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C477EF | 1.00 | 2.90 | 7.23 | 7.23 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A93F3
Deuteranopia (green-blind)
#7199EC
Tritanopia (blue-blind)
#C08AA8
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #c477ef; /* rgb */ color: rgb(196, 119, 239); /* oklch */ color: oklch(69.9% 0.184 312.2);
Tailwind
colors: {
custom: {
50: '#d8a0f5',
500: '#c477ef',
950: '#000000',
},
}SCSS
$custom: #c477ef; $custom-light: #d8a0f5; $custom-dark: #000000;
JSON
{
"hex": "#c477ef",
"rgb": {
"r": 196,
"g": 119,
"b": 239
},
"hsl": {
"h": 278.5,
"s": 78.947,
"l": 70.196
},
"oklch": {
"l": 0.699,
"c": 0.18365,
"h": 312.2
},
"luminance": 0.31161
}Semantic roles & 50–950 ramp
primary
#C477EF
secondary
#DCF2D0
accent
#DB0A55
background
#FDFAFF
surface
#FBF3FE
border
#D4CDD6
text
#150F17
muted
#837F85