#8B7EF2#8B7EF2
#8B7EF2 is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.8% C 0.168 H 285.9°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7EF2 |
|---|---|
| RGB | rgb(139, 126, 242) |
| HSL | hsl(247, 82%, 72%) |
| HSV | hsv(247, 48%, 95%) |
| CMYK | cmyk(42.6%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(58.81, 32.94, -56.87) |
| CIE-LCH | lch(58.81, 65.72, 300.08°) |
| OKLab | oklab(65.81% 0.0461 -0.1613) |
| OKLCH | oklch(65.81% 0.168 285.9) |
| XYZ | xyz(34.1307, 26.8201, 87.3657) |
| Luminance | 0.2682 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.97
Lavender Blue
#8B88F8
ΔE00 3.13
Perrywinkle
#8F8CE7
ΔE00 4.68
Cornflower
#6A79F7
ΔE00 5.86
Mediumpurple
#9370DB
ΔE00 6.10
Mediumslateblue
#7B68EE
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7EF2 #E5F27E
analogous
#7EABF2 #8B7EF2 #C57EF2
triadic
#8B7EF2 #F28B7E #7EF28B
tetradic
#8B7EF2 #F27EAB #E5F27E #7EF2C5
square
#8B7EF2 #F27EAB #E5F27E #7EF2C5
split-complementary
#8B7EF2 #F2C57E #ABF27E
monochromatic
#2D16DF #5946EC #8B7EF2 #BDB6F8 #E6E3FC
Accessibility & contrast
On white
3.30
#8B7EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.36
#8B7EF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7EF2
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7EF2 | 1.00 | 3.30 | 6.36 | 6.36 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E91F6
Deuteranopia (green-blind)
#4C8AEF
Tritanopia (blue-blind)
#6C96AD
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #8b7ef2; /* rgb */ color: rgb(139, 126, 242); /* oklch */ color: oklch(65.8% 0.168 285.9);
Tailwind
colors: {
custom: {
50: '#b2a3f7',
500: '#8b7ef2',
950: '#000000',
},
}SCSS
$custom: #8b7ef2; $custom-light: #b2a3f7; $custom-dark: #000000;
JSON
{
"hex": "#8b7ef2",
"rgb": {
"r": 139,
"g": 126,
"b": 242
},
"hsl": {
"h": 246.724,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.65806,
"c": 0.16771,
"h": 285.9
},
"luminance": 0.26821
}Semantic roles & 50–950 ramp
primary
#8B7EF2
secondary
#F1F4D7
accent
#DE07C6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85