#C57EF2#C57EF2
#C57EF2 is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.2% C 0.176 H 310.9°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #C57EF2 |
|---|---|
| RGB | rgb(197, 126, 242) |
| HSL | hsl(277, 82%, 72%) |
| HSV | hsv(277, 48%, 95%) |
| CMYK | cmyk(18.6%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(64.33, 47.78, -47.77) |
| CIE-LCH | lch(64.33, 67.56, 315.01°) |
| OKLab | oklab(71.22% 0.1154 -0.1332) |
| OKLCH | oklch(71.22% 0.176 310.9) |
| XYZ | xyz(46.5109, 33.2037, 87.9460) |
| Luminance | 0.3320 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.30
Easter Purple
#C071FE
ΔE00 3.88
Liliac
#C48EFD
ΔE00 4.16
Light Urple
#B36FF6
ΔE00 5.25
Bright Lavender
#C760FF
ΔE00 6.50
Bright Lilac
#C95EFB
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C57EF2 #ABF27E
analogous
#8B7EF2 #C57EF2 #F27EE5
triadic
#C57EF2 #F2C57E #7EF2C5
tetradic
#C57EF2 #F28B7E #ABF27E #7EE5F2
square
#C57EF2 #F28B7E #ABF27E #7EE5F2
split-complementary
#C57EF2 #E5F27E #7EF28B
monochromatic
#9116DF #AC46EC #C57EF2 #DEB6F8 #F3E3FC
Accessibility & contrast
On white
2.75
#C57EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.64
#C57EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C57EF2
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C57EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C57EF2 | 1.00 | 2.75 | 7.64 | 7.64 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6298F6
Deuteranopia (green-blind)
#769DEF
Tritanopia (blue-blind)
#C091AD
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #c57ef2; /* rgb */ color: rgb(197, 126, 242); /* oklch */ color: oklch(71.2% 0.176 310.9);
Tailwind
colors: {
custom: {
50: '#d9a5f7',
500: '#c57ef2',
950: '#000000',
},
}SCSS
$custom: #c57ef2; $custom-light: #d9a5f7; $custom-dark: #000000;
JSON
{
"hex": "#c57ef2",
"rgb": {
"r": 197,
"g": 126,
"b": 242
},
"hsl": {
"h": 276.724,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.71221,
"c": 0.17625,
"h": 310.9
},
"luminance": 0.33203
}Semantic roles & 50–950 ramp
primary
#C57EF2
secondary
#E2F4D7
accent
#DE075B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85