#C17BE8#C17BE8
#C17BE8 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.8% C 0.168 H 312.4°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #C17BE8 |
|---|---|
| RGB | rgb(193, 123, 232) |
| HSL | hsl(279, 70%, 70%) |
| HSV | hsv(279, 47%, 91%) |
| CMYK | cmyk(16.8%, 47%, 0%, 9%) |
| CIE-LAB | lab(62.79, 46.13, -44.69) |
| CIE-LCH | lch(62.79, 64.23, 315.91°) |
| OKLab | oklab(69.82% 0.1135 -0.1244) |
| OKLCH | oklch(69.82% 0.168 312.4) |
| XYZ | xyz(43.6383, 31.3305, 80.0769) |
| Luminance | 0.3133 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.73
Easter Purple
#C071FE
ΔE00 4.34
Light Urple
#B36FF6
ΔE00 5.14
Liliac
#C48EFD
ΔE00 5.41
Bright Lavender
#C760FF
ΔE00 6.49
Bright Lilac
#C95EFB
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C17BE8 #A2E87B
analogous
#8B7BE8 #C17BE8 #E87BD9
triadic
#C17BE8 #E8C17B #7BE8C1
tetradic
#C17BE8 #E88B7B #A2E87B #7BD9E8
square
#C17BE8 #E88B7B #A2E87B #7BD9E8
split-complementary
#C17BE8 #D9E87B #7BE88B
monochromatic
#8C23C6 #A947DF #C17BE8 #D9AFF1 #F2E3FA
Accessibility & contrast
On white
2.89
#C17BE8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.27
#C17BE8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C17BE8
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C17BE8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C17BE8 | 1.00 | 2.89 | 7.27 | 7.27 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6394EC
Deuteranopia (green-blind)
#7699E5
Tritanopia (blue-blind)
#BD8CA7
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #c17be8; /* rgb */ color: rgb(193, 123, 232); /* oklch */ color: oklch(69.8% 0.168 312.4);
Tailwind
colors: {
custom: {
50: '#d6a3f0',
500: '#c17be8',
950: '#000000',
},
}SCSS
$custom: #c17be8; $custom-light: #d6a3f0; $custom-dark: #000000;
JSON
{
"hex": "#c17be8",
"rgb": {
"r": 193,
"g": 123,
"b": 232
},
"hsl": {
"h": 278.532,
"s": 70.323,
"l": 69.608
},
"oklch": {
"l": 0.6982,
"c": 0.16835,
"h": 312.4
},
"luminance": 0.3133
}Semantic roles & 50–950 ramp
primary
#C17BE8
secondary
#DBEFD0
accent
#D21358
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84