#8B7BF7#8B7BF7
#8B7BF7 is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.6% C 0.179 H 286.3°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7BF7 |
|---|---|
| RGB | rgb(139, 123, 247) |
| HSL | hsl(248, 89%, 73%) |
| HSV | hsv(248, 50%, 97%) |
| CMYK | cmyk(43.7%, 50.2%, 0%, 3.1%) |
| CIE-LAB | lab(58.39, 36.09, -60.31) |
| CIE-LCH | lch(58.39, 70.28, 300.90°) |
| OKLab | oklab(65.58% 0.0501 -0.1714) |
| OKLCH | oklch(65.58% 0.179 286.3) |
| XYZ | xyz(34.5141, 26.3689, 91.2488) |
| Luminance | 0.2637 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.19
Lavender Blue
#8B88F8
ΔE00 3.91
Cornflower
#6A79F7
ΔE00 5.77
Perrywinkle
#8F8CE7
ΔE00 5.77
Mediumpurple
#9370DB
ΔE00 5.96
Mediumslateblue
#7B68EE
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7BF7 #E7F77B
analogous
#7BA9F7 #8B7BF7 #C97BF7
triadic
#8B7BF7 #F78B7B #7BF78B
tetradic
#8B7BF7 #F77BA9 #E7F77B #7BF7C9
square
#8B7BF7 #F77BA9 #E7F77B #7BF7C9
split-complementary
#8B7BF7 #F7C97B #A9F77B
monochromatic
#2A0EE9 #5841F4 #8B7BF7 #BEB5FA #E6E2FD
Accessibility & contrast
On white
3.35
#8B7BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#8B7BF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7BF7
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7BF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7BF7 | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4490FB
Deuteranopia (green-blind)
#4189F4
Tritanopia (blue-blind)
#6995AE
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #8b7bf7; /* rgb */ color: rgb(139, 123, 247); /* oklch */ color: oklch(65.6% 0.179 286.3);
Tailwind
colors: {
custom: {
50: '#b2a1fa',
500: '#8b7bf7',
950: '#000000',
},
}SCSS
$custom: #8b7bf7; $custom-light: #b2a1fa; $custom-dark: #000000;
JSON
{
"hex": "#8b7bf7",
"rgb": {
"r": 139,
"g": 123,
"b": 247
},
"hsl": {
"h": 247.742,
"s": 88.571,
"l": 72.549
},
"oklch": {
"l": 0.65581,
"c": 0.17853,
"h": 286.3
},
"luminance": 0.2637
}Semantic roles & 50–950 ramp
primary
#8B7BF7
secondary
#F1F5D6
accent
#E500C8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85