#B18CFC#B18CFC
#B18CFC is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.1% C 0.161 H 297.4°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #B18CFC |
|---|---|
| RGB | rgb(177, 140, 252) |
| HSL | hsl(260, 95%, 77%) |
| HSV | hsv(260, 44%, 99%) |
| CMYK | cmyk(29.8%, 44.4%, 0%, 1.2%) |
| CIE-LAB | lab(65.85, 37.11, -50.98) |
| CIE-LCH | lch(65.85, 63.06, 306.06°) |
| OKLab | oklab(72.06% 0.0743 -0.1431) |
| OKLCH | oklch(72.06% 0.161 297.4) |
| XYZ | xyz(45.0760, 35.1311, 96.4828) |
| Luminance | 0.3513 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.77
Light Purple
#BF77F6
ΔE00 6.25
Baby Purple
#CA9BF7
ΔE00 6.48
Pastel Purple
#CAA0FF
ΔE00 6.53
Periwinkle (survey)
#8E82FE
ΔE00 7.02
Perrywinkle
#8F8CE7
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B18CFC #D7FC8C
analogous
#8C9FFC #B18CFC #E98CFC
triadic
#B18CFC #FCB18C #8CFCB1
tetradic
#B18CFC #FC8C9F #D7FC8C #8CFCE9
square
#B18CFC #FC8C9F #D7FC8C #8CFCE9
split-complementary
#B18CFC #FCE98C #9FFC8C
monochromatic
#6015F9 #8950FA #B18CFC #D9C8FE #EBE1FE
Accessibility & contrast
On white
2.62
#B18CFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.03
#B18CFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B18CFC
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B18CFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B18CFC | 1.00 | 2.62 | 8.03 | 8.03 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6AA0FF
Deuteranopia (green-blind)
#719FF9
Tritanopia (blue-blind)
#A1A0B8
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #b18cfc; /* rgb */ color: rgb(177, 140, 252); /* oklch */ color: oklch(72.1% 0.161 297.4);
Tailwind
colors: {
custom: {
50: '#cbaefe',
500: '#b18cfc',
950: '#000000',
},
}SCSS
$custom: #b18cfc; $custom-light: #cbaefe; $custom-dark: #000000;
JSON
{
"hex": "#b18cfc",
"rgb": {
"r": 177,
"g": 140,
"b": 252
},
"hsl": {
"h": 259.821,
"s": 94.915,
"l": 76.863
},
"oklch": {
"l": 0.72061,
"c": 0.1612,
"h": 297.4
},
"luminance": 0.35132
}Semantic roles & 50–950 ramp
primary
#B18CFC
secondary
#EBF6D5
accent
#E6009A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86