#C17AFA#C17AFA
#C17AFA is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.6% C 0.190 H 307.9°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #C17AFA |
|---|---|
| RGB | rgb(193, 122, 250) |
| HSL | hsl(273, 93%, 73%) |
| HSV | hsv(273, 51%, 98%) |
| CMYK | cmyk(22.8%, 51.2%, 0%, 2%) |
| CIE-LAB | lab(63.47, 50.58, -53.55) |
| CIE-LCH | lch(63.47, 73.66, 313.37°) |
| OKLab | oklab(70.62% 0.1167 -0.1501) |
| OKLCH | oklch(70.62% 0.19 307.9) |
| XYZ | xyz(46.2037, 32.1592, 94.1973) |
| Luminance | 0.3216 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 0.92
Easter Purple
#C071FE
ΔE00 2.13
Light Urple
#B36FF6
ΔE00 3.67
Liliac
#C48EFD
ΔE00 4.78
Bright Lavender
#C760FF
ΔE00 5.27
Bright Lilac
#C95EFB
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C17AFA #B3FA7A
analogous
#817AFA #C17AFA #FA7AF3
triadic
#C17AFA #FAC17A #7AFAC1
tetradic
#C17AFA #FA817A #B3FA7A #7AF3FA
square
#C17AFA #FA817A #B3FA7A #7AF3FA
split-complementary
#C17AFA #F3FA7A #7AFA81
monochromatic
#8909F1 #A63FF8 #C17AFA #DCB5FC #F1E2FE
Accessibility & contrast
On white
2.83
#C17AFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.43
#C17AFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C17AFA
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C17AFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C17AFA | 1.00 | 2.83 | 7.43 | 7.43 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5597FE
Deuteranopia (green-blind)
#6A9BF7
Tritanopia (blue-blind)
#B990AF
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #c17afa; /* rgb */ color: rgb(193, 122, 250); /* oklch */ color: oklch(70.6% 0.190 307.9);
Tailwind
colors: {
custom: {
50: '#d6a2fc',
500: '#c17afa',
950: '#000000',
},
}SCSS
$custom: #c17afa; $custom-light: #d6a2fc; $custom-dark: #000000;
JSON
{
"hex": "#c17afa",
"rgb": {
"r": 193,
"g": 122,
"b": 250
},
"hsl": {
"h": 273.281,
"s": 92.754,
"l": 72.941
},
"oklch": {
"l": 0.70622,
"c": 0.19017,
"h": 307.9
},
"luminance": 0.32159
}Semantic roles & 50–950 ramp
primary
#C17AFA
secondary
#E4F6D5
accent
#E60066
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85