#C18CF8#C18CF8
#C18CF8 is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.4% C 0.160 H 305.4°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #C18CF8 |
|---|---|
| RGB | rgb(193, 140, 248) |
| HSL | hsl(269, 89%, 76%) |
| HSV | hsv(269, 44%, 97%) |
| CMYK | cmyk(22.2%, 43.5%, 0%, 2.7%) |
| CIE-LAB | lab(67.18, 40.49, -46.59) |
| CIE-LCH | lch(67.18, 61.73, 310.99°) |
| OKLab | oklab(73.35% 0.0925 -0.1299) |
| OKLCH | oklch(73.35% 0.16 305.4) |
| XYZ | xyz(48.3102, 36.8712, 93.3605) |
| Luminance | 0.3687 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 0.87
Baby Purple
#CA9BF7
ΔE00 4.18
Pastel Purple
#CAA0FF
ΔE00 5.01
Light Purple
#BF77F6
ΔE00 5.07
Lilac (survey)
#CEA2FD
ΔE00 5.71
Lavender (survey)
#C79FEF
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C18CF8 #C3F88C
analogous
#8C8DF8 #C18CF8 #F78CF8
triadic
#C18CF8 #F8C18C #8CF8C1
tetradic
#C18CF8 #F88C8D #C3F88C #8CF8F7
square
#C18CF8 #F88C8D #C3F88C #8CF8F7
split-complementary
#C18CF8 #F8F78C #8DF88C
monochromatic
#8319F1 #A252F4 #C18CF8 #E0C6FC #EFE2FD
Accessibility & contrast
On white
2.51
#C18CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.37
#C18CF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C18CF8
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C18CF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C18CF8 | 1.00 | 2.51 | 8.37 | 8.37 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71A2FC
Deuteranopia (green-blind)
#7EA4F5
Tritanopia (blue-blind)
#B89EB6
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #c18cf8; /* rgb */ color: rgb(193, 140, 248); /* oklch */ color: oklch(73.4% 0.160 305.4);
Tailwind
colors: {
custom: {
50: '#d6aefb',
500: '#c18cf8',
950: '#000000',
},
}SCSS
$custom: #c18cf8; $custom-light: #d6aefb; $custom-dark: #000000;
JSON
{
"hex": "#c18cf8",
"rgb": {
"r": 193,
"g": 140,
"b": 248
},
"hsl": {
"h": 269.444,
"s": 88.525,
"l": 76.078
},
"oklch": {
"l": 0.73353,
"c": 0.15952,
"h": 305.4
},
"luminance": 0.36871
}Semantic roles & 50–950 ramp
primary
#C18CF8
secondary
#E6F5D6
accent
#E50075
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85