#C18FEB#C18FEB
#C18FEB is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.2% C 0.139 H 308.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #C18FEB |
|---|---|
| RGB | rgb(193, 143, 235) |
| HSL | hsl(273, 70%, 74%) |
| HSV | hsv(273, 39%, 92%) |
| CMYK | cmyk(17.9%, 39.1%, 0%, 7.8%) |
| CIE-LAB | lab(67.26, 35.96, -39.33) |
| CIE-LCH | lch(67.26, 53.29, 312.43°) |
| OKLab | oklab(73.22% 0.0861 -0.109) |
| OKLCH | oklch(73.22% 0.139 308.3) |
| XYZ | xyz(46.8073, 36.9810, 83.2534) |
| Luminance | 0.3698 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.09
Baby Purple
#CA9BF7
ΔE00 3.27
Lavender (survey)
#C79FEF
ΔE00 4.21
Pale Purple
#B790D4
ΔE00 4.51
Pastel Purple
#CAA0FF
ΔE00 4.75
Lilac (survey)
#CEA2FD
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C18FEB #B9EB8F
analogous
#938FEB #C18FEB #EB8FE7
triadic
#C18FEB #EBC18F #8FEBC1
tetradic
#C18FEB #EB938F #B9EB8F #8FE7EB
square
#C18FEB #EB938F #B9EB8F #8FE7EB
split-complementary
#C18FEB #E7EB8F #8FEB93
monochromatic
#8827D8 #A45BE2 #C18FEB #DEC3F4 #F1E5FA
Accessibility & contrast
On white
2.50
#C18FEB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.40
#C18FEB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C18FEB
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C18FEB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C18FEB | 1.00 | 2.50 | 8.40 | 8.40 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7CA2EE
Deuteranopia (green-blind)
#87A4E8
Tritanopia (blue-blind)
#BC9DB2
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #c18feb; /* rgb */ color: rgb(193, 143, 235); /* oklch */ color: oklch(73.2% 0.139 308.3);
Tailwind
colors: {
custom: {
50: '#d5b0f2',
500: '#c18feb',
950: '#000000',
},
}SCSS
$custom: #c18feb; $custom-light: #d5b0f2; $custom-dark: #000000;
JSON
{
"hex": "#c18feb",
"rgb": {
"r": 193,
"g": 143,
"b": 235
},
"hsl": {
"h": 272.609,
"s": 69.697,
"l": 74.118
},
"oklch": {
"l": 0.73224,
"c": 0.13886,
"h": 308.3
},
"luminance": 0.36981
}Semantic roles & 50–950 ramp
primary
#C18FEB
secondary
#E4F2D9
accent
#D2146A
background
#FDFAFE
surface
#FAF5FD
border
#D3CFD5
text
#141017
muted
#837F85