#C17EFE#C17EFE
#C17EFE is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.4% C 0.189 H 306.4°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #C17EFE |
|---|---|
| RGB | rgb(193, 126, 254) |
| HSL | hsl(271, 98%, 75%) |
| HSV | hsv(271, 50%, 100%) |
| CMYK | cmyk(24%, 50.4%, 0%, 0.4%) |
| CIE-LAB | lab(64.50, 49.37, -54.12) |
| CIE-LCH | lch(64.50, 73.26, 312.37°) |
| OKLab | oklab(71.45% 0.1119 -0.1518) |
| OKLCH | oklch(71.45% 0.189 306.4) |
| XYZ | xyz(47.3389, 33.4153, 97.7027) |
| Luminance | 0.3342 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.97
Easter Purple
#C071FE
ΔE00 2.93
Liliac
#C48EFD
ΔE00 3.91
Light Urple
#B36FF6
ΔE00 4.38
Bright Lavender
#C760FF
ΔE00 6.16
Bright Lilac
#C95EFB
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C17EFE #BBFE7E
analogous
#817EFE #C17EFE #FE7EFB
triadic
#C17EFE #FEC17E #7EFEC1
tetradic
#C17EFE #FE817E #BBFE7E #7EFBFE
square
#C17EFE #FE817E #BBFE7E #7EFBFE
split-complementary
#C17EFE #FBFE7E #7EFE81
monochromatic
#8705FD #A441FE #C17EFE #DEBBFE #F0E1FF
Accessibility & contrast
On white
2.73
#C17EFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.68
#C17EFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C17EFE
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C17EFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C17EFE | 1.00 | 2.73 | 7.68 | 7.68 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#589AFF
Deuteranopia (green-blind)
#6C9DFB
Tritanopia (blue-blind)
#B795B2
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #c17efe; /* rgb */ color: rgb(193, 126, 254); /* oklch */ color: oklch(71.4% 0.189 306.4);
Tailwind
colors: {
custom: {
50: '#d6a5ff',
500: '#c17efe',
950: '#000000',
},
}SCSS
$custom: #c17efe; $custom-light: #d6a5ff; $custom-dark: #000000;
JSON
{
"hex": "#c17efe",
"rgb": {
"r": 193,
"g": 126,
"b": 254
},
"hsl": {
"h": 271.406,
"s": 98.462,
"l": 74.51
},
"oklch": {
"l": 0.71446,
"c": 0.18858,
"h": 306.4
},
"luminance": 0.33415
}Semantic roles & 50–950 ramp
primary
#C17EFE
secondary
#E5F7D4
accent
#E6006D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86