#C17EE7#C17EE7
#C17EE7 is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.2% C 0.162 H 312.3°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #C17EE7 |
|---|---|
| RGB | rgb(193, 126, 231) |
| HSL | hsl(278, 69%, 70%) |
| HSV | hsv(278, 45%, 91%) |
| CMYK | cmyk(16.5%, 45.5%, 0%, 9.4%) |
| CIE-LAB | lab(63.37, 44.32, -43.22) |
| CIE-LCH | lch(63.37, 61.91, 315.72°) |
| OKLab | oklab(70.24% 0.1092 -0.1201) |
| OKLCH | oklch(70.24% 0.162 312.3) |
| XYZ | xyz(43.8745, 32.0296, 79.4569) |
| Luminance | 0.3203 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.29
Easter Purple
#C071FE
ΔE00 4.96
Liliac
#C48EFD
ΔE00 4.97
Light Urple
#B36FF6
ΔE00 5.75
Orchid
#DA70D6
ΔE00 6.87
Pale Purple
#B790D4
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C17EE7 #A4E77E
analogous
#8D7EE7 #C17EE7 #E77ED8
triadic
#C17EE7 #E7C17E #7EE7C1
tetradic
#C17EE7 #E78D7E #A4E77E #7ED8E7
square
#C17EE7 #E78D7E #A4E77E #7ED8E7
split-complementary
#C17EE7 #D8E77E #7EE78D
monochromatic
#8C25C6 #A84ADD #C17EE7 #DAB2F1 #F3E5FA
Accessibility & contrast
On white
2.84
#C17EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.41
#C17EE7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C17EE7
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C17EE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C17EE7 | 1.00 | 2.84 | 7.41 | 7.41 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6896EB
Deuteranopia (green-blind)
#7A9BE4
Tritanopia (blue-blind)
#BD8EA8
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #c17ee7; /* rgb */ color: rgb(193, 126, 231); /* oklch */ color: oklch(70.2% 0.162 312.3);
Tailwind
colors: {
custom: {
50: '#d5a5ef',
500: '#c17ee7',
950: '#000000',
},
}SCSS
$custom: #c17ee7; $custom-light: #d5a5ef; $custom-dark: #000000;
JSON
{
"hex": "#c17ee7",
"rgb": {
"r": 193,
"g": 126,
"b": 231
},
"hsl": {
"h": 278.286,
"s": 68.627,
"l": 70
},
"oklch": {
"l": 0.70239,
"c": 0.16234,
"h": 312.3
},
"luminance": 0.32029
}Semantic roles & 50–950 ramp
primary
#C17EE7
secondary
#DCEFD2
accent
#D11559
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84