#C57DF2#C57DF2
#C57DF2 is a light, vivid violet. Relative luminance 0.329; OKLCH L 71.1% C 0.178 H 311.0°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #C57DF2 |
|---|---|
| RGB | rgb(197, 125, 242) |
| HSL | hsl(277, 82%, 72%) |
| HSV | hsv(277, 48%, 95%) |
| CMYK | cmyk(18.6%, 48.3%, 0%, 5.1%) |
| CIE-LAB | lab(64.12, 48.31, -48.09) |
| CIE-LCH | lch(64.12, 68.16, 315.13°) |
| OKLab | oklab(71.07% 0.1168 -0.1341) |
| OKLCH | oklch(71.07% 0.178 311) |
| XYZ | xyz(46.3837, 32.9492, 87.9036) |
| Luminance | 0.3295 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.13
Easter Purple
#C071FE
ΔE00 3.70
Liliac
#C48EFD
ΔE00 4.37
Light Urple
#B36FF6
ΔE00 5.08
Bright Lavender
#C760FF
ΔE00 6.27
Bright Lilac
#C95EFB
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C57DF2 #AAF27D
analogous
#8B7DF2 #C57DF2 #F27DE5
triadic
#C57DF2 #F2C57D #7DF2C5
tetradic
#C57DF2 #F28B7D #AAF27D #7DE5F2
square
#C57DF2 #F28B7D #AAF27D #7DE5F2
split-complementary
#C57DF2 #E5F27D #7DF28B
monochromatic
#9116DE #AC45EC #C57DF2 #DEB5F8 #F3E3FC
Accessibility & contrast
On white
2.77
#C57DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.59
#C57DF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C57DF2
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C57DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C57DF2 | 1.00 | 2.77 | 7.59 | 7.59 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#759DEF
Tritanopia (blue-blind)
#C090AC
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c57df2; /* rgb */ color: rgb(197, 125, 242); /* oklch */ color: oklch(71.1% 0.178 311.0);
Tailwind
colors: {
custom: {
50: '#d9a4f7',
500: '#c57df2',
950: '#000000',
},
}SCSS
$custom: #c57df2; $custom-light: #d9a4f7; $custom-dark: #000000;
JSON
{
"hex": "#c57df2",
"rgb": {
"r": 197,
"g": 125,
"b": 242
},
"hsl": {
"h": 276.923,
"s": 81.818,
"l": 71.961
},
"oklch": {
"l": 0.71068,
"c": 0.17785,
"h": 311
},
"luminance": 0.32948
}Semantic roles & 50–950 ramp
primary
#C57DF2
secondary
#E2F4D7
accent
#DE075A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85