#B87CFE#B87CFE
#B87CFE is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.2% C 0.189 H 303.2°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #B87CFE |
|---|---|
| RGB | rgb(184, 124, 254) |
| HSL | hsl(268, 98%, 74%) |
| HSV | hsv(268, 51%, 100%) |
| CMYK | cmyk(27.6%, 51.2%, 0%, 0.4%) |
| CIE-LAB | lab(63.15, 48.15, -56.32) |
| CIE-LCH | lch(63.15, 74.10, 310.53°) |
| OKLab | oklab(70.23% 0.1036 -0.1585) |
| OKLCH | oklch(70.23% 0.189 303.2) |
| XYZ | xyz(44.8602, 31.7615, 97.5139) |
| Luminance | 0.3176 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.37
Easter Purple
#C071FE
ΔE00 2.83
Light Urple
#B36FF6
ΔE00 3.36
Liliac
#C48EFD
ΔE00 4.90
Bright Lavender
#C760FF
ΔE00 6.13
Bright Lilac
#C95EFB
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B87CFE #C2FE7C
analogous
#7C81FE #B87CFE #F97CFE
triadic
#B87CFE #FEB87C #7CFEB8
tetradic
#B87CFE #FE7C81 #C2FE7C #7CFEF9
square
#B87CFE #FE7C81 #C2FE7C #7CFEF9
split-complementary
#B87CFE #FEF97C #81FE7C
monochromatic
#7603FD #973FFE #B87CFE #D9B9FE #EFE1FF
Accessibility & contrast
On white
2.86
#B87CFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.35
#B87CFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B87CFE
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B87CFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B87CFE | 1.00 | 2.86 | 7.35 | 7.35 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5197FF
Deuteranopia (green-blind)
#6399FB
Tritanopia (blue-blind)
#AB94B2
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b87cfe; /* rgb */ color: rgb(184, 124, 254); /* oklch */ color: oklch(70.2% 0.189 303.2);
Tailwind
colors: {
custom: {
50: '#d0a3ff',
500: '#b87cfe',
950: '#000000',
},
}SCSS
$custom: #b87cfe; $custom-light: #d0a3ff; $custom-dark: #000000;
JSON
{
"hex": "#b87cfe",
"rgb": {
"r": 184,
"g": 124,
"b": 254
},
"hsl": {
"h": 267.692,
"s": 98.485,
"l": 74.118
},
"oklch": {
"l": 0.70232,
"c": 0.18934,
"h": 303.2
},
"luminance": 0.31761
}Semantic roles & 50–950 ramp
primary
#B87CFE
secondary
#E7F7D4
accent
#E6007C
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86