#C17FF7#C17FF7
#C17FF7 is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.2% C 0.179 H 307.9°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #C17FF7 |
|---|---|
| RGB | rgb(193, 127, 247) |
| HSL | hsl(273, 88%, 73%) |
| HSV | hsv(273, 49%, 97%) |
| CMYK | cmyk(21.9%, 48.6%, 0%, 3.1%) |
| CIE-LAB | lab(64.35, 47.27, -50.51) |
| CIE-LCH | lch(64.35, 69.18, 313.10°) |
| OKLab | oklab(71.22% 0.1099 -0.1413) |
| OKLCH | oklch(71.22% 0.179 307.9) |
| XYZ | xyz(46.3669, 33.2321, 91.9495) |
| Luminance | 0.3323 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.91
Easter Purple
#C071FE
ΔE00 3.41
Liliac
#C48EFD
ΔE00 3.66
Light Urple
#B36FF6
ΔE00 4.67
Bright Lavender
#C760FF
ΔE00 6.48
Bright Lilac
#C95EFB
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C17FF7 #B5F77F
analogous
#857FF7 #C17FF7 #F77FF1
triadic
#C17FF7 #F7C17F #7FF7C1
tetradic
#C17FF7 #F7857F #B5F77F #7FF1F7
square
#C17FF7 #F7857F #B5F77F #7FF1F7
split-complementary
#C17FF7 #F1F77F #7FF785
monochromatic
#890FED #A545F3 #C17FF7 #DDB9FB #F1E2FD
Accessibility & contrast
On white
2.75
#C17FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.65
#C17FF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C17FF7
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C17FF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C17FF7 | 1.00 | 2.75 | 7.65 | 7.65 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F99FB
Deuteranopia (green-blind)
#719DF4
Tritanopia (blue-blind)
#B993B0
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #c17ff7; /* rgb */ color: rgb(193, 127, 247); /* oklch */ color: oklch(71.2% 0.179 307.9);
Tailwind
colors: {
custom: {
50: '#d6a6fa',
500: '#c17ff7',
950: '#000000',
},
}SCSS
$custom: #c17ff7; $custom-light: #d6a6fa; $custom-dark: #000000;
JSON
{
"hex": "#c17ff7",
"rgb": {
"r": 193,
"g": 127,
"b": 247
},
"hsl": {
"h": 273,
"s": 88.235,
"l": 73.333
},
"oklch": {
"l": 0.71221,
"c": 0.179,
"h": 307.9
},
"luminance": 0.33232
}Semantic roles & 50–950 ramp
primary
#C17FF7
secondary
#E4F5D6
accent
#E50167
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F17
muted
#837F85