#C18BFA#C18BFA
#C18BFA is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.3% C 0.164 H 305.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #C18BFA |
|---|---|
| RGB | rgb(193, 139, 250) |
| HSL | hsl(269, 92%, 76%) |
| HSV | hsv(269, 44%, 98%) |
| CMYK | cmyk(22.8%, 44.4%, 0%, 2%) |
| CIE-LAB | lab(67.06, 41.49, -47.88) |
| CIE-LCH | lch(67.06, 63.36, 310.91°) |
| OKLab | oklab(73.29% 0.0942 -0.1337) |
| OKLCH | oklch(73.29% 0.164 305.2) |
| XYZ | xyz(48.4767, 36.7051, 94.9549) |
| Luminance | 0.3670 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 0.87
Baby Purple
#CA9BF7
ΔE00 4.54
Light Purple
#BF77F6
ΔE00 4.81
Pastel Purple
#CAA0FF
ΔE00 5.29
Lilac (survey)
#CEA2FD
ΔE00 6.01
Easter Purple
#C071FE
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C18BFA #C4FA8B
analogous
#8B8DFA #C18BFA #F98BFA
triadic
#C18BFA #FAC18B #8BFAC1
tetradic
#C18BFA #FA8B8D #C4FA8B #8BFAF9
square
#C18BFA #FA8B8D #C4FA8B #8BFAF9
split-complementary
#C18BFA #FAF98B #8DFA8B
monochromatic
#8216F5 #A250F7 #C18BFA #E0C6FD #EFE2FE
Accessibility & contrast
On white
2.52
#C18BFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.34
#C18BFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C18BFA
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C18BFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C18BFA | 1.00 | 2.52 | 8.34 | 8.34 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6EA2FE
Deuteranopia (green-blind)
#7CA3F7
Tritanopia (blue-blind)
#B89EB7
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #c18bfa; /* rgb */ color: rgb(193, 139, 250); /* oklch */ color: oklch(73.3% 0.164 305.2);
Tailwind
colors: {
custom: {
50: '#d6aefc',
500: '#c18bfa',
950: '#000000',
},
}SCSS
$custom: #c18bfa; $custom-light: #d6aefc; $custom-dark: #000000;
JSON
{
"hex": "#c18bfa",
"rgb": {
"r": 193,
"g": 139,
"b": 250
},
"hsl": {
"h": 269.189,
"s": 91.736,
"l": 76.275
},
"oklch": {
"l": 0.7329,
"c": 0.16353,
"h": 305.2
},
"luminance": 0.36705
}Semantic roles & 50–950 ramp
primary
#C18BFA
secondary
#E6F6D5
accent
#E60076
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85