#8B7AEE#8B7AEE
#8B7AEE is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.9% C 0.168 H 287.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7AEE |
|---|---|
| RGB | rgb(139, 122, 238) |
| HSL | hsl(249, 77%, 71%) |
| HSV | hsv(249, 49%, 93%) |
| CMYK | cmyk(41.6%, 48.7%, 0%, 6.7%) |
| CIE-LAB | lab(57.64, 34.15, -56.52) |
| CIE-LCH | lch(57.64, 66.04, 301.14°) |
| OKLab | oklab(64.85% 0.0505 -0.1602) |
| OKLCH | oklch(64.85% 0.168 287.5) |
| XYZ | xyz(33.0353, 25.5799, 84.0692) |
| Luminance | 0.2558 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.15
Lavender Blue
#8B88F8
ΔE00 4.45
Mediumpurple
#9370DB
ΔE00 4.88
Perrywinkle
#8F8CE7
ΔE00 5.64
Mediumslateblue
#7B68EE
ΔE00 5.77
Cornflower
#6A79F7
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7AEE #DDEE7A
analogous
#7AA3EE #8B7AEE #C57AEE
triadic
#8B7AEE #EE8B7A #7AEE8B
tetradic
#8B7AEE #EE7AA3 #DDEE7A #7AEEC5
square
#8B7AEE #EE7AA3 #DDEE7A #7AEEC5
split-complementary
#8B7AEE #EEC57A #A3EE7A
monochromatic
#361BD3 #5C44E7 #8B7AEE #BAB0F5 #E7E4FC
Accessibility & contrast
On white
3.43
#8B7AEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#8B7AEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7AEE
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7AEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7AEE | 1.00 | 3.43 | 6.12 | 6.12 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A8DF2
Deuteranopia (green-blind)
#4987EB
Tritanopia (blue-blind)
#6E92A9
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #8b7aee; /* rgb */ color: rgb(139, 122, 238); /* oklch */ color: oklch(64.9% 0.168 287.5);
Tailwind
colors: {
custom: {
50: '#b2a0f4',
500: '#8b7aee',
950: '#000000',
},
}SCSS
$custom: #8b7aee; $custom-light: #b2a0f4; $custom-dark: #000000;
JSON
{
"hex": "#8b7aee",
"rgb": {
"r": 139,
"g": 122,
"b": 238
},
"hsl": {
"h": 248.793,
"s": 77.333,
"l": 70.588
},
"oklch": {
"l": 0.64854,
"c": 0.16801,
"h": 287.5
},
"luminance": 0.25581
}Semantic roles & 50–950 ramp
primary
#8B7AEE
secondary
#EDF2D2
accent
#DA0CBB
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110F17
muted
#807E85