#C17DF8#C17DF8
#C17DF8 is a light, vivid violet. Relative luminance 0.328; OKLCH L 71.0% C 0.183 H 307.9°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #C17DF8 |
|---|---|
| RGB | rgb(193, 125, 248) |
| HSL | hsl(273, 90%, 73%) |
| HSV | hsv(273, 50%, 97%) |
| CMYK | cmyk(22.2%, 49.6%, 0%, 2.7%) |
| CIE-LAB | lab(63.98, 48.56, -51.64) |
| CIE-LCH | lch(63.98, 70.88, 313.24°) |
| OKLab | oklab(70.97% 0.1126 -0.1446) |
| OKLCH | oklch(70.97% 0.183 307.9) |
| XYZ | xyz(46.2659, 32.7826, 92.6791) |
| Luminance | 0.3278 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.45
Easter Purple
#C071FE
ΔE00 2.91
Liliac
#C48EFD
ΔE00 4.10
Light Urple
#B36FF6
ΔE00 4.25
Bright Lavender
#C760FF
ΔE00 5.99
Bright Lilac
#C95EFB
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C17DF8 #B4F87D
analogous
#837DF8 #C17DF8 #F87DF1
triadic
#C17DF8 #F8C17D #7DF8C1
tetradic
#C17DF8 #F8837D #B4F87D #7DF1F8
square
#C17DF8 #F8837D #B4F87D #7DF1F8
split-complementary
#C17DF8 #F1F87D #7DF883
monochromatic
#890DEE #A543F5 #C17DF8 #DDB7FB #F1E2FD
Accessibility & contrast
On white
2.78
#C17DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.56
#C17DF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C17DF8
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C17DF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C17DF8 | 1.00 | 2.78 | 7.56 | 7.56 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B98FC
Deuteranopia (green-blind)
#6F9CF5
Tritanopia (blue-blind)
#B992AF
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c17df8; /* rgb */ color: rgb(193, 125, 248); /* oklch */ color: oklch(71.0% 0.183 307.9);
Tailwind
colors: {
custom: {
50: '#d6a4fb',
500: '#c17df8',
950: '#000000',
},
}SCSS
$custom: #c17df8; $custom-light: #d6a4fb; $custom-dark: #000000;
JSON
{
"hex": "#c17df8",
"rgb": {
"r": 193,
"g": 125,
"b": 248
},
"hsl": {
"h": 273.171,
"s": 89.781,
"l": 73.137
},
"oklch": {
"l": 0.70967,
"c": 0.18326,
"h": 307.9
},
"luminance": 0.32782
}Semantic roles & 50–950 ramp
primary
#C17DF8
secondary
#E4F6D5
accent
#E60067
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F17
muted
#837F85