#C17EFD#C17EFD
#C17EFD is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.4% C 0.187 H 306.6°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #C17EFD |
|---|---|
| RGB | rgb(193, 126, 253) |
| HSL | hsl(272, 97%, 74%) |
| HSV | hsv(272, 50%, 99%) |
| CMYK | cmyk(23.7%, 50.2%, 0%, 0.8%) |
| CIE-LAB | lab(64.44, 49.15, -53.65) |
| CIE-LCH | lch(64.44, 72.76, 312.49°) |
| OKLab | oklab(71.39% 0.1118 -0.1504) |
| OKLCH | oklch(71.39% 0.187 306.6) |
| XYZ | xyz(47.1792, 33.3514, 96.8615) |
| Luminance | 0.3335 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.89
Easter Purple
#C071FE
ΔE00 2.94
Liliac
#C48EFD
ΔE00 3.89
Light Urple
#B36FF6
ΔE00 4.37
Bright Lavender
#C760FF
ΔE00 6.16
Bright Lilac
#C95EFB
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C17EFD #BAFD7E
analogous
#827EFD #C17EFD #FD7EF9
triadic
#C17EFD #FDC17E #7EFDC1
tetradic
#C17EFD #FD827E #BAFD7E #7EF9FD
square
#C17EFD #FD827E #BAFD7E #7EF9FD
split-complementary
#C17EFD #F9FD7E #7EFD82
monochromatic
#8705FB #A442FC #C17EFD #DEBAFE #F1E1FF
Accessibility & contrast
On white
2.74
#C17EFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.67
#C17EFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C17EFD
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C17EFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C17EFD | 1.00 | 2.74 | 7.67 | 7.67 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#6D9DFA
Tritanopia (blue-blind)
#B894B2
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #c17efd; /* rgb */ color: rgb(193, 126, 253); /* oklch */ color: oklch(71.4% 0.187 306.6);
Tailwind
colors: {
custom: {
50: '#d6a5fe',
500: '#c17efd',
950: '#000000',
},
}SCSS
$custom: #c17efd; $custom-light: #d6a5fe; $custom-dark: #000000;
JSON
{
"hex": "#c17efd",
"rgb": {
"r": 193,
"g": 126,
"b": 253
},
"hsl": {
"h": 271.654,
"s": 96.947,
"l": 74.314
},
"oklch": {
"l": 0.71391,
"c": 0.18744,
"h": 306.6
},
"luminance": 0.33351
}Semantic roles & 50–950 ramp
primary
#C17EFD
secondary
#E5F7D4
accent
#E6006C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86