#B87BF2#B87BF2
#B87BF2 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.4% C 0.177 H 306.0°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #B87BF2 |
|---|---|
| RGB | rgb(184, 123, 242) |
| HSL | hsl(271, 82%, 72%) |
| HSV | hsv(271, 49%, 95%) |
| CMYK | cmyk(24%, 49.2%, 0%, 5.1%) |
| CIE-LAB | lab(62.31, 45.91, -51.04) |
| CIE-LCH | lch(62.31, 68.65, 311.97°) |
| OKLab | oklab(69.41% 0.1039 -0.1431) |
| OKLCH | oklch(69.41% 0.177 306) |
| XYZ | xyz(42.8738, 30.7674, 87.6672) |
| Luminance | 0.3077 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.57
Easter Purple
#C071FE
ΔE00 2.95
Light Urple
#B36FF6
ΔE00 3.19
Liliac
#C48EFD
ΔE00 5.01
Bright Lavender
#C760FF
ΔE00 6.00
Bright Lilac
#C95EFB
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B87BF2 #B5F27B
analogous
#7D7BF2 #B87BF2 #F27BF1
triadic
#B87BF2 #F2B87B #7BF2B8
tetradic
#B87BF2 #F27D7B #B5F27B #7BF1F2
square
#B87BF2 #F27D7B #B5F27B #7BF1F2
split-complementary
#B87BF2 #F1F27B #7BF27D
monochromatic
#7C16DD #9A43ED #B87BF2 #D6B3F7 #F0E3FC
Accessibility & contrast
On white
2.94
#B87BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.15
#B87BF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B87BF2
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B87BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B87BF2 | 1.00 | 2.94 | 7.15 | 7.15 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5995F6
Deuteranopia (green-blind)
#6A97EF
Tritanopia (blue-blind)
#AF90AB
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b87bf2; /* rgb */ color: rgb(184, 123, 242); /* oklch */ color: oklch(69.4% 0.177 306.0);
Tailwind
colors: {
custom: {
50: '#d0a3f7',
500: '#b87bf2',
950: '#000000',
},
}SCSS
$custom: #b87bf2; $custom-light: #d0a3f7; $custom-dark: #000000;
JSON
{
"hex": "#b87bf2",
"rgb": {
"r": 184,
"g": 123,
"b": 242
},
"hsl": {
"h": 270.756,
"s": 82.069,
"l": 71.569
},
"oklch": {
"l": 0.6941,
"c": 0.17679,
"h": 306
},
"luminance": 0.30767
}Semantic roles & 50–950 ramp
primary
#B87BF2
secondary
#E4F4D5
accent
#DE0770
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85