#C18BF8#C18BF8
#C18BF8 is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.2% C 0.161 H 305.6°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #C18BF8 |
|---|---|
| RGB | rgb(193, 139, 248) |
| HSL | hsl(270, 89%, 76%) |
| HSV | hsv(270, 44%, 97%) |
| CMYK | cmyk(22.2%, 44%, 0%, 2.7%) |
| CIE-LAB | lab(66.96, 41.04, -46.94) |
| CIE-LCH | lch(66.96, 62.35, 311.16°) |
| OKLab | oklab(73.19% 0.0939 -0.1309) |
| OKLCH | oklch(73.19% 0.161 305.6) |
| XYZ | xyz(48.1647, 36.5803, 93.3121) |
| Luminance | 0.3658 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 0.99
Baby Purple
#CA9BF7
ΔE00 4.41
Light Purple
#BF77F6
ΔE00 4.82
Pastel Purple
#CAA0FF
ΔE00 5.26
Lilac (survey)
#CEA2FD
ΔE00 5.94
Lavender (survey)
#C79FEF
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C18BF8 #C2F88B
analogous
#8B8BF8 #C18BF8 #F88BF8
triadic
#C18BF8 #F8C18B #8BF8C1
tetradic
#C18BF8 #F88B8B #C2F88B #8BF8F8
square
#C18BF8 #F88B8B #C2F88B #8BF8F8
split-complementary
#C18BF8 #F8F88B #8BF88B
monochromatic
#8318F1 #A251F5 #C18BF8 #E0C5FB #F0E2FD
Accessibility & contrast
On white
2.53
#C18BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.32
#C18BF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C18BF8
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C18BF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C18BF8 | 1.00 | 2.53 | 8.32 | 8.32 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70A1FC
Deuteranopia (green-blind)
#7DA3F5
Tritanopia (blue-blind)
#B89DB6
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #c18bf8; /* rgb */ color: rgb(193, 139, 248); /* oklch */ color: oklch(73.2% 0.161 305.6);
Tailwind
colors: {
custom: {
50: '#d6aefb',
500: '#c18bf8',
950: '#000000',
},
}SCSS
$custom: #c18bf8; $custom-light: #d6aefb; $custom-dark: #000000;
JSON
{
"hex": "#c18bf8",
"rgb": {
"r": 193,
"g": 139,
"b": 248
},
"hsl": {
"h": 269.725,
"s": 88.618,
"l": 75.882
},
"oklch": {
"l": 0.73189,
"c": 0.16112,
"h": 305.6
},
"luminance": 0.3658
}Semantic roles & 50–950 ramp
primary
#C18BF8
secondary
#E6F5D6
accent
#E50074
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85