#8B7BF8#8B7BF8
#8B7BF8 is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.6% C 0.180 H 286.2°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7BF8 |
|---|---|
| RGB | rgb(139, 123, 248) |
| HSL | hsl(248, 90%, 73%) |
| HSV | hsv(248, 50%, 97%) |
| CMYK | cmyk(44%, 50.4%, 0%, 2.7%) |
| CIE-LAB | lab(58.44, 36.37, -60.77) |
| CIE-LCH | lch(58.44, 70.82, 300.90°) |
| OKLab | oklab(65.64% 0.0501 -0.1727) |
| OKLCH | oklch(65.64% 0.18 286.2) |
| XYZ | xyz(34.6688, 26.4308, 92.0637) |
| Luminance | 0.2643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.13
Lavender Blue
#8B88F8
ΔE00 3.90
Cornflower
#6A79F7
ΔE00 5.75
Perrywinkle
#8F8CE7
ΔE00 5.83
Mediumpurple
#9370DB
ΔE00 6.06
Mediumslateblue
#7B68EE
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7BF8 #E8F87B
analogous
#7BA9F8 #8B7BF8 #C97BF8
triadic
#8B7BF8 #F88B7B #7BF88B
tetradic
#8B7BF8 #F87BA9 #E8F87B #7BF8C9
square
#8B7BF8 #F87BA9 #E8F87B #7BF8C9
split-complementary
#8B7BF8 #F8C97B #A9F87B
monochromatic
#290DEC #5841F5 #8B7BF8 #BEB5FB #E5E2FD
Accessibility & contrast
On white
3.34
#8B7BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.29
#8B7BF8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7BF8
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7BF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7BF8 | 1.00 | 3.34 | 6.29 | 6.29 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4390FC
Deuteranopia (green-blind)
#4089F5
Tritanopia (blue-blind)
#6995AE
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #8b7bf8; /* rgb */ color: rgb(139, 123, 248); /* oklch */ color: oklch(65.6% 0.180 286.2);
Tailwind
colors: {
custom: {
50: '#b3a1fb',
500: '#8b7bf8',
950: '#000000',
},
}SCSS
$custom: #8b7bf8; $custom-light: #b3a1fb; $custom-dark: #000000;
JSON
{
"hex": "#8b7bf8",
"rgb": {
"r": 139,
"g": 123,
"b": 248
},
"hsl": {
"h": 247.68,
"s": 89.928,
"l": 72.745
},
"oklch": {
"l": 0.65644,
"c": 0.17984,
"h": 286.2
},
"luminance": 0.26432
}Semantic roles & 50–950 ramp
primary
#8B7BF8
secondary
#F1F6D5
accent
#E600C8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85