#C17AF8#C17AF8
#C17AF8 is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.5% C 0.188 H 308.3°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #C17AF8 |
|---|---|
| RGB | rgb(193, 122, 248) |
| HSL | hsl(274, 90%, 73%) |
| HSV | hsv(274, 51%, 97%) |
| CMYK | cmyk(22.2%, 50.8%, 0%, 2.7%) |
| CIE-LAB | lab(63.37, 50.14, -52.61) |
| CIE-LCH | lch(63.37, 72.67, 313.62°) |
| OKLab | oklab(70.51% 0.1166 -0.1474) |
| OKLCH | oklch(70.51% 0.188 308.3) |
| XYZ | xyz(45.8918, 32.0344, 92.5544) |
| Luminance | 0.3203 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 0.80
Easter Purple
#C071FE
ΔE00 2.26
Light Urple
#B36FF6
ΔE00 3.72
Liliac
#C48EFD
ΔE00 4.79
Bright Lavender
#C760FF
ΔE00 5.31
Bright Lilac
#C95EFB
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C17AF8 #B1F87A
analogous
#827AF8 #C17AF8 #F87AF0
triadic
#C17AF8 #F8C17A #7AF8C1
tetradic
#C17AF8 #F8827A #B1F87A #7AF0F8
square
#C17AF8 #F8827A #B1F87A #7AF0F8
split-complementary
#C17AF8 #F0F87A #7AF882
monochromatic
#8A0CEB #A640F5 #C17AF8 #DCB4FB #F1E2FD
Accessibility & contrast
On white
2.84
#C17AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.41
#C17AF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C17AF8
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C17AF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C17AF8 | 1.00 | 2.84 | 7.41 | 7.41 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5696FC
Deuteranopia (green-blind)
#6C9AF5
Tritanopia (blue-blind)
#B990AE
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #c17af8; /* rgb */ color: rgb(193, 122, 248); /* oklch */ color: oklch(70.5% 0.188 308.3);
Tailwind
colors: {
custom: {
50: '#d6a2fb',
500: '#c17af8',
950: '#000000',
},
}SCSS
$custom: #c17af8; $custom-light: #d6a2fb; $custom-dark: #000000;
JSON
{
"hex": "#c17af8",
"rgb": {
"r": 193,
"g": 122,
"b": 248
},
"hsl": {
"h": 273.81,
"s": 90,
"l": 72.549
},
"oklch": {
"l": 0.70513,
"c": 0.18792,
"h": 308.3
},
"luminance": 0.32034
}Semantic roles & 50–950 ramp
primary
#C17AF8
secondary
#E3F6D5
accent
#E60064
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85