#C17FFB#C17FFB
#C17FFB is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.4% C 0.184 H 306.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #C17FFB |
|---|---|
| RGB | rgb(193, 127, 251) |
| HSL | hsl(272, 94%, 74%) |
| HSV | hsv(272, 49%, 98%) |
| CMYK | cmyk(23.1%, 49.4%, 0%, 1.6%) |
| CIE-LAB | lab(64.55, 48.17, -52.39) |
| CIE-LCH | lch(64.55, 71.17, 312.60°) |
| OKLab | oklab(71.44% 0.1103 -0.1468) |
| OKLCH | oklch(71.44% 0.184 306.9) |
| XYZ | xyz(46.9907, 33.4817, 95.2352) |
| Luminance | 0.3348 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.98
Easter Purple
#C071FE
ΔE00 3.22
Liliac
#C48EFD
ΔE00 3.63
Light Urple
#B36FF6
ΔE00 4.58
Bright Lavender
#C760FF
ΔE00 6.41
Bright Lilac
#C95EFB
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C17FFB #B9FB7F
analogous
#837FFB #C17FFB #FB7FF7
triadic
#C17FFB #FBC17F #7FFBC1
tetradic
#C17FFB #FB837F #B9FB7F #7FF7FB
square
#C17FFB #FB837F #B9FB7F #7FF7FB
split-complementary
#C17FFB #F7FB7F #7FFB83
monochromatic
#8808F7 #A444F9 #C17FFB #DEBAFD #F1E1FE
Accessibility & contrast
On white
2.73
#C17FFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.70
#C17FFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C17FFB
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C17FFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C17FFB | 1.00 | 2.73 | 7.70 | 7.70 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C9AFF
Deuteranopia (green-blind)
#6F9DF8
Tritanopia (blue-blind)
#B894B1
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #c17ffb; /* rgb */ color: rgb(193, 127, 251); /* oklch */ color: oklch(71.4% 0.184 306.9);
Tailwind
colors: {
custom: {
50: '#d6a6fd',
500: '#c17ffb',
950: '#000000',
},
}SCSS
$custom: #c17ffb; $custom-light: #d6a6fd; $custom-dark: #000000;
JSON
{
"hex": "#c17ffb",
"rgb": {
"r": 193,
"g": 127,
"b": 251
},
"hsl": {
"h": 271.935,
"s": 93.939,
"l": 74.118
},
"oklch": {
"l": 0.71436,
"c": 0.1836,
"h": 306.9
},
"luminance": 0.33481
}Semantic roles & 50–950 ramp
primary
#C17FFB
secondary
#E4F6D5
accent
#E6006B
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F18
muted
#837F86