#B18CFB#B18CFB
#B18CFB is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.0% C 0.160 H 297.6°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #B18CFB |
|---|---|
| RGB | rgb(177, 140, 251) |
| HSL | hsl(260, 93%, 77%) |
| HSV | hsv(260, 44%, 98%) |
| CMYK | cmyk(29.5%, 44.2%, 0%, 1.6%) |
| CIE-LAB | lab(65.80, 36.87, -50.51) |
| CIE-LCH | lch(65.80, 62.53, 306.13°) |
| OKLab | oklab(72.01% 0.0741 -0.1417) |
| OKLCH | oklch(72.01% 0.16 297.6) |
| XYZ | xyz(44.9180, 35.0679, 95.6504) |
| Luminance | 0.3507 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.72
Light Purple
#BF77F6
ΔE00 6.22
Baby Purple
#CA9BF7
ΔE00 6.40
Pastel Purple
#CAA0FF
ΔE00 6.48
Periwinkle (survey)
#8E82FE
ΔE00 7.09
Perrywinkle
#8F8CE7
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B18CFB #D6FB8C
analogous
#8C9FFB #B18CFB #E98CFB
triadic
#B18CFB #FBB18C #8CFBB1
tetradic
#B18CFB #FB8C9F #D6FB8C #8CFBE9
square
#B18CFB #FB8C9F #D6FB8C #8CFBE9
split-complementary
#B18CFB #FBE98C #9FFB8C
monochromatic
#6116F7 #8951F9 #B18CFB #D9C7FD #EBE1FE
Accessibility & contrast
On white
2.62
#B18CFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.01
#B18CFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B18CFB
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B18CFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B18CFB | 1.00 | 2.62 | 8.01 | 8.01 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6AA0FF
Deuteranopia (green-blind)
#729FF8
Tritanopia (blue-blind)
#A2A0B8
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #b18cfb; /* rgb */ color: rgb(177, 140, 251); /* oklch */ color: oklch(72.0% 0.160 297.6);
Tailwind
colors: {
custom: {
50: '#cbaefd',
500: '#b18cfb',
950: '#000000',
},
}SCSS
$custom: #b18cfb; $custom-light: #cbaefd; $custom-dark: #000000;
JSON
{
"hex": "#b18cfb",
"rgb": {
"r": 177,
"g": 140,
"b": 251
},
"hsl": {
"h": 260,
"s": 93.277,
"l": 76.667
},
"oklch": {
"l": 0.72008,
"c": 0.15993,
"h": 297.6
},
"luminance": 0.35068
}Semantic roles & 50–950 ramp
primary
#B18CFB
secondary
#EBF6D5
accent
#E60099
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86