#B87BF0#B87BF0
#B87BF0 is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.3% C 0.174 H 306.5°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B87BF0 |
|---|---|
| RGB | rgb(184, 123, 240) |
| HSL | hsl(271, 80%, 71%) |
| HSV | hsv(271, 49%, 94%) |
| CMYK | cmyk(23.3%, 48.7%, 0%, 5.9%) |
| CIE-LAB | lab(62.21, 45.46, -50.10) |
| CIE-LCH | lch(62.21, 67.65, 312.22°) |
| OKLab | oklab(69.3% 0.1037 -0.1403) |
| OKLCH | oklch(69.3% 0.174 306.5) |
| XYZ | xyz(42.5751, 30.6479, 86.0939) |
| Luminance | 0.3065 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.64
Easter Purple
#C071FE
ΔE00 3.12
Light Urple
#B36FF6
ΔE00 3.32
Liliac
#C48EFD
ΔE00 5.06
Bright Lavender
#C760FF
ΔE00 6.08
Bright Lilac
#C95EFB
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B87BF0 #B3F07B
analogous
#7D7BF0 #B87BF0 #F07BED
triadic
#B87BF0 #F0B87B #7BF0B8
tetradic
#B87BF0 #F07D7B #B3F07B #7BEDF0
square
#B87BF0 #F07D7B #B3F07B #7BEDF0
split-complementary
#B87BF0 #EDF07B #7BF07D
monochromatic
#7C19D8 #9A44EA #B87BF0 #D6B2F6 #F0E4FC
Accessibility & contrast
On white
2.95
#B87BF0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.13
#B87BF0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B87BF0
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B87BF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B87BF0 | 1.00 | 2.95 | 7.13 | 7.13 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A94F4
Deuteranopia (green-blind)
#6B97ED
Tritanopia (blue-blind)
#AF8FAA
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b87bf0; /* rgb */ color: rgb(184, 123, 240); /* oklch */ color: oklch(69.3% 0.174 306.5);
Tailwind
colors: {
custom: {
50: '#d0a3f5',
500: '#b87bf0',
950: '#000000',
},
}SCSS
$custom: #b87bf0; $custom-light: #d0a3f5; $custom-dark: #000000;
JSON
{
"hex": "#b87bf0",
"rgb": {
"r": 184,
"g": 123,
"b": 240
},
"hsl": {
"h": 271.282,
"s": 79.592,
"l": 71.176
},
"oklch": {
"l": 0.69301,
"c": 0.17445,
"h": 306.5
},
"luminance": 0.30648
}Semantic roles & 50–950 ramp
primary
#B87BF0
secondary
#E3F3D4
accent
#DC0A6E
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85