#C18EF7#C18EF7
#C18EF7 is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.6% C 0.155 H 305.3°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #C18EF7 |
|---|---|
| RGB | rgb(193, 142, 247) |
| HSL | hsl(269, 87%, 76%) |
| HSV | hsv(269, 43%, 97%) |
| CMYK | cmyk(21.9%, 42.5%, 0%, 3.1%) |
| CIE-LAB | lab(67.58, 39.17, -45.42) |
| CIE-LCH | lch(67.58, 59.98, 310.78°) |
| OKLab | oklab(73.63% 0.0896 -0.1266) |
| OKLCH | oklch(73.63% 0.155 305.3) |
| XYZ | xyz(48.4504, 37.3991, 92.6440) |
| Luminance | 0.3740 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 0.96
Baby Purple
#CA9BF7
ΔE00 3.67
Pastel Purple
#CAA0FF
ΔE00 4.52
Lilac (survey)
#CEA2FD
ΔE00 5.21
Lavender (survey)
#C79FEF
ΔE00 5.29
Light Purple
#BF77F6
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C18EF7 #C4F78E
analogous
#8E90F7 #C18EF7 #F68EF7
triadic
#C18EF7 #F7C18E #8EF7C1
tetradic
#C18EF7 #F78E90 #C4F78E #8EF7F6
square
#C18EF7 #F78E90 #C4F78E #8EF7F6
split-complementary
#C18EF7 #F7F68E #90F78E
monochromatic
#821CEF #A255F3 #C18EF7 #E0C7FB #EFE2FD
Accessibility & contrast
On white
2.48
#C18EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.48
#C18EF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C18EF7
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C18EF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C18EF7 | 1.00 | 2.48 | 8.48 | 8.48 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74A3FB
Deuteranopia (green-blind)
#80A5F4
Tritanopia (blue-blind)
#B99FB7
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #c18ef7; /* rgb */ color: rgb(193, 142, 247); /* oklch */ color: oklch(73.6% 0.155 305.3);
Tailwind
colors: {
custom: {
50: '#d5b0fa',
500: '#c18ef7',
950: '#000000',
},
}SCSS
$custom: #c18ef7; $custom-light: #d5b0fa; $custom-dark: #000000;
JSON
{
"hex": "#c18ef7",
"rgb": {
"r": 193,
"g": 142,
"b": 247
},
"hsl": {
"h": 269.143,
"s": 86.777,
"l": 76.275
},
"oklch": {
"l": 0.73635,
"c": 0.15509,
"h": 305.3
},
"luminance": 0.37399
}Semantic roles & 50–950 ramp
primary
#C18EF7
secondary
#E6F5D6
accent
#E30276
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#141017
muted
#837F85