#8B7BF6#8B7BF6
#8B7BF6 is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.5% C 0.177 H 286.4°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7BF6 |
|---|---|
| RGB | rgb(139, 123, 246) |
| HSL | hsl(248, 87%, 72%) |
| HSV | hsv(248, 50%, 96%) |
| CMYK | cmyk(43.5%, 50%, 0%, 3.5%) |
| CIE-LAB | lab(58.33, 35.81, -59.85) |
| CIE-LCH | lch(58.33, 69.74, 300.89°) |
| OKLab | oklab(65.52% 0.05 -0.17) |
| OKLCH | oklch(65.52% 0.177 286.4) |
| XYZ | xyz(34.3602, 26.3073, 90.4383) |
| Luminance | 0.2631 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.25
Lavender Blue
#8B88F8
ΔE00 3.92
Perrywinkle
#8F8CE7
ΔE00 5.72
Cornflower
#6A79F7
ΔE00 5.79
Mediumpurple
#9370DB
ΔE00 5.86
Mediumslateblue
#7B68EE
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7BF6 #E6F67B
analogous
#7BA8F6 #8B7BF6 #C97BF6
triadic
#8B7BF6 #F68B7B #7BF68B
tetradic
#8B7BF6 #F67BA8 #E6F67B #7BF6C9
square
#8B7BF6 #F67BA8 #E6F67B #7BF6C9
split-complementary
#8B7BF6 #F6C97B #A8F67B
monochromatic
#2C10E7 #5942F2 #8B7BF6 #BDB4FA #E6E2FD
Accessibility & contrast
On white
3.35
#8B7BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.26
#8B7BF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7BF6
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7BF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7BF6 | 1.00 | 3.35 | 6.26 | 6.26 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#458FFA
Deuteranopia (green-blind)
#4289F3
Tritanopia (blue-blind)
#6A95AD
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #8b7bf6; /* rgb */ color: rgb(139, 123, 246); /* oklch */ color: oklch(65.5% 0.177 286.4);
Tailwind
colors: {
custom: {
50: '#b2a1fa',
500: '#8b7bf6',
950: '#000000',
},
}SCSS
$custom: #8b7bf6; $custom-light: #b2a1fa; $custom-dark: #000000;
JSON
{
"hex": "#8b7bf6",
"rgb": {
"r": 139,
"g": 123,
"b": 246
},
"hsl": {
"h": 247.805,
"s": 87.234,
"l": 72.353
},
"oklch": {
"l": 0.65519,
"c": 0.17721,
"h": 286.4
},
"luminance": 0.26309
}Semantic roles & 50–950 ramp
primary
#8B7BF6
secondary
#F1F5D6
accent
#E402C6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85