#B18FFC#B18FFC
#B18FFC is a light, vivid violet. Relative luminance 0.360; OKLCH L 72.6% C 0.157 H 296.7°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #B18FFC |
|---|---|
| RGB | rgb(177, 143, 252) |
| HSL | hsl(259, 95%, 77%) |
| HSV | hsv(259, 43%, 99%) |
| CMYK | cmyk(29.8%, 43.3%, 0%, 1.2%) |
| CIE-LAB | lab(66.54, 35.44, -49.90) |
| CIE-LCH | lch(66.54, 61.20, 305.38°) |
| OKLab | oklab(72.58% 0.0703 -0.1399) |
| OKLCH | oklch(72.58% 0.157 296.7) |
| XYZ | xyz(45.5203, 36.0198, 96.6309) |
| Luminance | 0.3602 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.89
Pastel Purple
#CAA0FF
ΔE00 6.04
Baby Purple
#CA9BF7
ΔE00 6.14
Light Purple
#BF77F6
ΔE00 6.99
Perrywinkle
#8F8CE7
ΔE00 7.01
Lilac (survey)
#CEA2FD
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B18FFC #DAFC8F
analogous
#8FA3FC #B18FFC #E88FFC
triadic
#B18FFC #FCB18F #8FFCB1
tetradic
#B18FFC #FC8FA3 #DAFC8F #8FFCE8
square
#B18FFC #FC8FA3 #DAFC8F #8FFCE8
split-complementary
#B18FFC #FCE88F #A3FC8F
monochromatic
#5E18F9 #8753FA #B18FFC #DBCBFE #EAE1FE
Accessibility & contrast
On white
2.56
#B18FFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.20
#B18FFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B18FFC
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B18FFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B18FFC | 1.00 | 2.56 | 8.20 | 8.20 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#74A1F9
Tritanopia (blue-blind)
#A1A3B9
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b18ffc; /* rgb */ color: rgb(177, 143, 252); /* oklch */ color: oklch(72.6% 0.157 296.7);
Tailwind
colors: {
custom: {
50: '#cbb0fe',
500: '#b18ffc',
950: '#000000',
},
}SCSS
$custom: #b18ffc; $custom-light: #cbb0fe; $custom-dark: #000000;
JSON
{
"hex": "#b18ffc",
"rgb": {
"r": 177,
"g": 143,
"b": 252
},
"hsl": {
"h": 258.716,
"s": 94.783,
"l": 77.451
},
"oklch": {
"l": 0.72577,
"c": 0.15661,
"h": 296.7
},
"luminance": 0.3602
}Semantic roles & 50–950 ramp
primary
#B18FFC
secondary
#ECF6D5
accent
#E6009E
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#131018
muted
#827F86