#C277EF#C277EF
#C277EF is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.7% C 0.183 H 311.4°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #C277EF |
|---|---|
| RGB | rgb(194, 119, 239) |
| HSL | hsl(278, 79%, 70%) |
| HSV | hsv(278, 50%, 94%) |
| CMYK | cmyk(18.8%, 50.2%, 0%, 6.3%) |
| CIE-LAB | lab(62.42, 50.01, -49.14) |
| CIE-LCH | lch(62.42, 70.11, 315.50°) |
| OKLab | oklab(69.68% 0.1209 -0.1372) |
| OKLCH | oklch(69.68% 0.183 311.4) |
| XYZ | xyz(44.4222, 30.8959, 85.2680) |
| Luminance | 0.3090 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.44
Easter Purple
#C071FE
ΔE00 2.86
Light Urple
#B36FF6
ΔE00 3.98
Bright Lavender
#C760FF
ΔE00 5.08
Bright Lilac
#C95EFB
ΔE00 5.19
Liliac
#C48EFD
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C277EF #A4EF77
analogous
#8677EF #C277EF #EF77E0
triadic
#C277EF #EFC277 #77EFC2
tetradic
#C277EF #EF8677 #A4EF77 #77E0EF
square
#C277EF #EF8677 #A4EF77 #77E0EF
split-complementary
#C277EF #E0EF77 #77EF86
monochromatic
#8D19D3 #A940E9 #C277EF #DBAEF5 #F3E4FC
Accessibility & contrast
On white
2.93
#C277EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.18
#C277EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C277EF
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C277EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C277EF | 1.00 | 2.93 | 7.18 | 7.18 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5993F3
Deuteranopia (green-blind)
#6F98EC
Tritanopia (blue-blind)
#BD8BA8
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #c277ef; /* rgb */ color: rgb(194, 119, 239); /* oklch */ color: oklch(69.7% 0.183 311.4);
Tailwind
colors: {
custom: {
50: '#d7a0f5',
500: '#c277ef',
950: '#000000',
},
}SCSS
$custom: #c277ef; $custom-light: #d7a0f5; $custom-dark: #000000;
JSON
{
"hex": "#c277ef",
"rgb": {
"r": 194,
"g": 119,
"b": 239
},
"hsl": {
"h": 277.5,
"s": 78.947,
"l": 70.196
},
"oklch": {
"l": 0.69684,
"c": 0.1829,
"h": 311.4
},
"luminance": 0.30895
}Semantic roles & 50–950 ramp
primary
#C277EF
secondary
#DDF2D0
accent
#DB0A59
background
#FDFAFF
surface
#FBF3FE
border
#D4CDD6
text
#150F17
muted
#837F85