#C57FF2#C57FF2
#C57FF2 is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.4% C 0.175 H 310.8°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #C57FF2 |
|---|---|
| RGB | rgb(197, 127, 242) |
| HSL | hsl(277, 82%, 72%) |
| HSV | hsv(277, 48%, 95%) |
| CMYK | cmyk(18.6%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(64.53, 47.25, -47.44) |
| CIE-LCH | lch(64.53, 66.96, 314.89°) |
| OKLab | oklab(71.38% 0.1141 -0.1323) |
| OKLCH | oklch(71.38% 0.175 310.8) |
| XYZ | xyz(46.6394, 33.4607, 87.9888) |
| Luminance | 0.3346 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.49
Liliac
#C48EFD
ΔE00 3.95
Easter Purple
#C071FE
ΔE00 4.08
Light Urple
#B36FF6
ΔE00 5.42
Bright Lavender
#C760FF
ΔE00 6.72
Bright Lilac
#C95EFB
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C57FF2 #ACF27F
analogous
#8C7FF2 #C57FF2 #F27FE5
triadic
#C57FF2 #F2C57F #7FF2C5
tetradic
#C57FF2 #F28C7F #ACF27F #7FE5F2
square
#C57FF2 #F28C7F #ACF27F #7FE5F2
split-complementary
#C57FF2 #E5F27F #7FF28C
monochromatic
#9117E0 #AC47EC #C57FF2 #DEB7F8 #F2E3FC
Accessibility & contrast
On white
2.73
#C57FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#C57FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C57FF2
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C57FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C57FF2 | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#779EEF
Tritanopia (blue-blind)
#C091AD
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #c57ff2; /* rgb */ color: rgb(197, 127, 242); /* oklch */ color: oklch(71.4% 0.175 310.8);
Tailwind
colors: {
custom: {
50: '#d9a6f7',
500: '#c57ff2',
950: '#000000',
},
}SCSS
$custom: #c57ff2; $custom-light: #d9a6f7; $custom-dark: #000000;
JSON
{
"hex": "#c57ff2",
"rgb": {
"r": 197,
"g": 127,
"b": 242
},
"hsl": {
"h": 276.522,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.71375,
"c": 0.17466,
"h": 310.8
},
"luminance": 0.3346
}Semantic roles & 50–950 ramp
primary
#C57FF2
secondary
#E2F4D7
accent
#DE085B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85