#C17EF7#C17EF7
#C17EF7 is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.1% C 0.181 H 308.0°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #C17EF7 |
|---|---|
| RGB | rgb(193, 126, 247) |
| HSL | hsl(273, 88%, 73%) |
| HSV | hsv(273, 49%, 97%) |
| CMYK | cmyk(21.9%, 49%, 0%, 3.1%) |
| CIE-LAB | lab(64.14, 47.81, -50.84) |
| CIE-LCH | lch(64.14, 69.79, 313.24°) |
| OKLab | oklab(71.07% 0.1112 -0.1422) |
| OKLCH | oklch(71.07% 0.181 308) |
| XYZ | xyz(46.2384, 32.9751, 91.9066) |
| Luminance | 0.3297 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.68
Easter Purple
#C071FE
ΔE00 3.19
Liliac
#C48EFD
ΔE00 3.89
Light Urple
#B36FF6
ΔE00 4.48
Bright Lavender
#C760FF
ΔE00 6.25
Bright Lilac
#C95EFB
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C17EF7 #B4F77E
analogous
#847EF7 #C17EF7 #F77EF1
triadic
#C17EF7 #F7C17E #7EF7C1
tetradic
#C17EF7 #F7847E #B4F77E #7EF1F7
square
#C17EF7 #F7847E #B4F77E #7EF1F7
split-complementary
#C17EF7 #F1F77E #7EF784
monochromatic
#890FEC #A544F3 #C17EF7 #DDB8FB #F1E2FD
Accessibility & contrast
On white
2.76
#C17EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.59
#C17EF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C17EF7
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C17EF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C17EF7 | 1.00 | 2.76 | 7.59 | 7.59 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D99FB
Deuteranopia (green-blind)
#709CF4
Tritanopia (blue-blind)
#B993AF
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c17ef7; /* rgb */ color: rgb(193, 126, 247); /* oklch */ color: oklch(71.1% 0.181 308.0);
Tailwind
colors: {
custom: {
50: '#d6a5fa',
500: '#c17ef7',
950: '#000000',
},
}SCSS
$custom: #c17ef7; $custom-light: #d6a5fa; $custom-dark: #000000;
JSON
{
"hex": "#c17ef7",
"rgb": {
"r": 193,
"g": 126,
"b": 247
},
"hsl": {
"h": 273.223,
"s": 88.321,
"l": 73.137
},
"oklch": {
"l": 0.71067,
"c": 0.18056,
"h": 308
},
"luminance": 0.32975
}Semantic roles & 50–950 ramp
primary
#C17EF7
secondary
#E4F5D6
accent
#E50166
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F17
muted
#837F85