#C18EF9#C18EF9
#C18EF9 is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.7% C 0.158 H 304.8°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #C18EF9 |
|---|---|
| RGB | rgb(193, 142, 249) |
| HSL | hsl(269, 90%, 77%) |
| HSV | hsv(269, 43%, 98%) |
| CMYK | cmyk(22.5%, 43%, 0%, 2.4%) |
| CIE-LAB | lab(67.67, 39.63, -46.37) |
| CIE-LCH | lch(67.67, 61.00, 310.52°) |
| OKLab | oklab(73.74% 0.0899 -0.1293) |
| OKLCH | oklch(73.74% 0.158 304.8) |
| XYZ | xyz(48.7606, 37.5232, 94.2781) |
| Luminance | 0.3752 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 0.71
Baby Purple
#CA9BF7
ΔE00 3.81
Pastel Purple
#CAA0FF
ΔE00 4.54
Lilac (survey)
#CEA2FD
ΔE00 5.28
Lavender (survey)
#C79FEF
ΔE00 5.49
Light Purple
#BF77F6
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C18EF9 #C6F98E
analogous
#8E91F9 #C18EF9 #F68EF9
triadic
#C18EF9 #F9C18E #8EF9C1
tetradic
#C18EF9 #F98E91 #C6F98E #8EF9F6
square
#C18EF9 #F98E91 #C6F98E #8EF9F6
split-complementary
#C18EF9 #F9F68E #91F98E
monochromatic
#811AF3 #A154F6 #C18EF9 #E1C8FC #EFE2FD
Accessibility & contrast
On white
2.47
#C18EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.50
#C18EF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C18EF9
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C18EF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C18EF9 | 1.00 | 2.47 | 8.50 | 8.50 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73A3FD
Deuteranopia (green-blind)
#7FA5F6
Tritanopia (blue-blind)
#B8A0B8
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #c18ef9; /* rgb */ color: rgb(193, 142, 249); /* oklch */ color: oklch(73.7% 0.158 304.8);
Tailwind
colors: {
custom: {
50: '#d5b0fb',
500: '#c18ef9',
950: '#000000',
},
}SCSS
$custom: #c18ef9; $custom-light: #d5b0fb; $custom-dark: #000000;
JSON
{
"hex": "#c18ef9",
"rgb": {
"r": 193,
"g": 142,
"b": 249
},
"hsl": {
"h": 268.598,
"s": 89.916,
"l": 76.667
},
"oklch": {
"l": 0.73735,
"c": 0.15752,
"h": 304.8
},
"luminance": 0.37523
}Semantic roles & 50–950 ramp
primary
#C18EF9
secondary
#E6F6D5
accent
#E60078
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#141017
muted
#837F85