#C17FED#C17FED
#C17FED is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.7% C 0.168 H 310.4°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #C17FED |
|---|---|
| RGB | rgb(193, 127, 237) |
| HSL | hsl(276, 75%, 71%) |
| HSV | hsv(276, 46%, 93%) |
| CMYK | cmyk(18.6%, 46.4%, 0%, 7.1%) |
| CIE-LAB | lab(63.86, 45.08, -45.77) |
| CIE-LCH | lch(63.86, 64.24, 314.57°) |
| OKLab | oklab(70.7% 0.1087 -0.1275) |
| OKLCH | oklch(70.7% 0.168 310.4) |
| XYZ | xyz(44.8650, 32.6314, 84.0394) |
| Luminance | 0.3263 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.62
Liliac
#C48EFD
ΔE00 4.20
Easter Purple
#C071FE
ΔE00 4.34
Light Urple
#B36FF6
ΔE00 5.30
Bright Lavender
#C760FF
ΔE00 6.97
Baby Purple
#CA9BF7
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C17FED #ABED7F
analogous
#8A7FED #C17FED #ED7FE2
triadic
#C17FED #EDC17F #7FEDC1
tetradic
#C17FED #ED8A7F #ABED7F #7FE2ED
square
#C17FED #ED8A7F #ABED7F #7FE2ED
split-complementary
#C17FED #E2ED7F #7FED8A
monochromatic
#8B1ED4 #A749E5 #C17FED #DBB5F5 #F2E4FB
Accessibility & contrast
On white
2.79
#C17FED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.53
#C17FED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C17FED
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C17FED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C17FED | 1.00 | 2.79 | 7.53 | 7.53 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6598F1
Deuteranopia (green-blind)
#779CEA
Tritanopia (blue-blind)
#BC90AB
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c17fed; /* rgb */ color: rgb(193, 127, 237); /* oklch */ color: oklch(70.7% 0.168 310.4);
Tailwind
colors: {
custom: {
50: '#d6a6f3',
500: '#c17fed',
950: '#000000',
},
}SCSS
$custom: #c17fed; $custom-light: #d6a6f3; $custom-dark: #000000;
JSON
{
"hex": "#c17fed",
"rgb": {
"r": 193,
"g": 127,
"b": 237
},
"hsl": {
"h": 276,
"s": 75.342,
"l": 71.373
},
"oklch": {
"l": 0.707,
"c": 0.16753,
"h": 310.4
},
"luminance": 0.32631
}Semantic roles & 50–950 ramp
primary
#C17FED
secondary
#E1F2D6
accent
#D80E5F
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85