#B291FC#B291FC
#B291FC is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.0% C 0.154 H 296.6°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #B291FC |
|---|---|
| RGB | rgb(178, 145, 252) |
| HSL | hsl(259, 95%, 78%) |
| HSV | hsv(259, 42%, 99%) |
| CMYK | cmyk(29.4%, 42.5%, 0%, 1.2%) |
| CIE-LAB | lab(67.08, 34.59, -49.02) |
| CIE-LCH | lch(67.08, 60.00, 305.21°) |
| OKLab | oklab(73.01% 0.0689 -0.1374) |
| OKLCH | oklch(73.01% 0.154 296.6) |
| XYZ | xyz(46.0519, 36.7435, 96.7426) |
| Luminance | 0.3674 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.87
Pastel Purple
#CAA0FF
ΔE00 5.60
Baby Purple
#CA9BF7
ΔE00 5.79
Lilac (survey)
#CEA2FD
ΔE00 6.68
Lavender (survey)
#C79FEF
ΔE00 6.87
Perrywinkle
#8F8CE7
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B291FC #DBFC91
analogous
#91A5FC #B291FC #E891FC
triadic
#B291FC #FCB291 #91FCB2
tetradic
#B291FC #FC91A5 #DBFC91 #91FCE8
square
#B291FC #FC91A5 #DBFC91 #91FCE8
split-complementary
#B291FC #FCE891 #A5FC91
monochromatic
#5F1AF9 #8855FA #B291FC #DCCDFE #EAE1FE
Accessibility & contrast
On white
2.52
#B291FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.35
#B291FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B291FC
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B291FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B291FC | 1.00 | 2.52 | 8.35 | 8.35 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#77A2F9
Tritanopia (blue-blind)
#A2A4BA
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b291fc; /* rgb */ color: rgb(178, 145, 252); /* oklch */ color: oklch(73.0% 0.154 296.6);
Tailwind
colors: {
custom: {
50: '#cbb1fe',
500: '#b291fc',
950: '#000000',
},
}SCSS
$custom: #b291fc; $custom-light: #cbb1fe; $custom-dark: #000000;
JSON
{
"hex": "#b291fc",
"rgb": {
"r": 178,
"g": 145,
"b": 252
},
"hsl": {
"h": 258.505,
"s": 94.69,
"l": 77.843
},
"oklch": {
"l": 0.73012,
"c": 0.15366,
"h": 296.6
},
"luminance": 0.36744
}Semantic roles & 50–950 ramp
primary
#B291FC
secondary
#ECF6D5
accent
#E6009F
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141118
muted
#828086