#C57AFE#C57AFE
#C57AFE is a light, vivid violet. Relative luminance 0.329; OKLCH L 71.3% C 0.196 H 308.5°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #C57AFE |
|---|---|
| RGB | rgb(197, 122, 254) |
| HSL | hsl(274, 99%, 74%) |
| HSV | hsv(274, 52%, 100%) |
| CMYK | cmyk(22.4%, 52%, 0%, 0.4%) |
| CIE-LAB | lab(64.12, 52.48, -54.70) |
| CIE-LCH | lch(64.12, 75.80, 313.82°) |
| OKLab | oklab(71.26% 0.1218 -0.1534) |
| OKLCH | oklch(71.26% 0.196 308.5) |
| XYZ | xyz(47.8714, 32.9458, 97.5840) |
| Luminance | 0.3295 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.51
Easter Purple
#C071FE
ΔE00 2.25
Light Urple
#B36FF6
ΔE00 4.17
Liliac
#C48EFD
ΔE00 4.75
Bright Lavender
#C760FF
ΔE00 5.23
Bright Lilac
#C95EFB
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C57AFE #B3FE7A
analogous
#837AFE #C57AFE #FE7AF5
triadic
#C57AFE #FEC57A #7AFEC5
tetradic
#C57AFE #FE837A #B3FE7A #7AF5FE
square
#C57AFE #FE837A #B3FE7A #7AF5FE
split-complementary
#C57AFE #F5FE7A #7AFE83
monochromatic
#9002FC #AB3DFE #C57AFE #DFB7FE #F2E1FF
Accessibility & contrast
On white
2.77
#C57AFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.59
#C57AFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C57AFE
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C57AFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C57AFE | 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)
#5398FF
Deuteranopia (green-blind)
#6B9CFB
Tritanopia (blue-blind)
#BD91B1
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c57afe; /* rgb */ color: rgb(197, 122, 254); /* oklch */ color: oklch(71.3% 0.196 308.5);
Tailwind
colors: {
custom: {
50: '#d9a3ff',
500: '#c57afe',
950: '#000000',
},
}SCSS
$custom: #c57afe; $custom-light: #d9a3ff; $custom-dark: #000000;
JSON
{
"hex": "#c57afe",
"rgb": {
"r": 197,
"g": 122,
"b": 254
},
"hsl": {
"h": 274.091,
"s": 98.507,
"l": 73.725
},
"oklch": {
"l": 0.71262,
"c": 0.19588,
"h": 308.5
},
"luminance": 0.32945
}Semantic roles & 50–950 ramp
primary
#C57AFE
secondary
#E3F7D4
accent
#E60063
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86