#C17FF5#C17FF5
#C17FF5 is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.1% C 0.177 H 308.4°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #C17FF5 |
|---|---|
| RGB | rgb(193, 127, 245) |
| HSL | hsl(274, 86%, 73%) |
| HSV | hsv(274, 48%, 96%) |
| CMYK | cmyk(21.2%, 48.2%, 0%, 3.9%) |
| CIE-LAB | lab(64.25, 46.83, -49.57) |
| CIE-LCH | lch(64.25, 68.19, 313.37°) |
| OKLab | oklab(71.11% 0.1097 -0.1385) |
| OKLCH | oklch(71.11% 0.177 308.4) |
| XYZ | xyz(46.0599, 33.1094, 90.3328) |
| Luminance | 0.3311 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.96
Easter Purple
#C071FE
ΔE00 3.55
Liliac
#C48EFD
ΔE00 3.71
Light Urple
#B36FF6
ΔE00 4.75
Bright Lavender
#C760FF
ΔE00 6.55
Bright Lilac
#C95EFB
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C17FF5 #B3F57F
analogous
#867FF5 #C17FF5 #F57FEE
triadic
#C17FF5 #F5C17F #7FF5C1
tetradic
#C17FF5 #F5867F #B3F57F #7FEEF5
square
#C17FF5 #F5867F #B3F57F #7FEEF5
split-complementary
#C17FF5 #EEF57F #7FF586
monochromatic
#8912E8 #A646F1 #C17FF5 #DCB8F9 #F1E3FD
Accessibility & contrast
On white
2.76
#C17FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.62
#C17FF5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C17FF5
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C17FF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C17FF5 | 1.00 | 2.76 | 7.62 | 7.62 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6099F9
Deuteranopia (green-blind)
#739DF2
Tritanopia (blue-blind)
#BA93AF
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #c17ff5; /* rgb */ color: rgb(193, 127, 245); /* oklch */ color: oklch(71.1% 0.177 308.4);
Tailwind
colors: {
custom: {
50: '#d6a6f9',
500: '#c17ff5',
950: '#000000',
},
}SCSS
$custom: #c17ff5; $custom-light: #d6a6f9; $custom-dark: #000000;
JSON
{
"hex": "#c17ff5",
"rgb": {
"r": 193,
"g": 127,
"b": 245
},
"hsl": {
"h": 273.559,
"s": 85.507,
"l": 72.941
},
"oklch": {
"l": 0.71115,
"c": 0.1767,
"h": 308.4
},
"luminance": 0.33109
}Semantic roles & 50–950 ramp
primary
#C17FF5
secondary
#E4F5D6
accent
#E20366
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F17
muted
#837F85