#8B7FED#8B7FED
#8B7FED is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.7% C 0.160 H 286.1°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7FED |
|---|---|
| RGB | rgb(139, 127, 237) |
| HSL | hsl(247, 75%, 71%) |
| HSV | hsv(247, 46%, 93%) |
| CMYK | cmyk(41.4%, 46.4%, 0%, 7.1%) |
| CIE-LAB | lab(58.77, 30.96, -54.16) |
| CIE-LCH | lch(58.77, 62.38, 299.76°) |
| OKLab | oklab(65.69% 0.0443 -0.1533) |
| OKLCH | oklch(65.69% 0.16 286.1) |
| XYZ | xyz(33.5186, 26.7809, 83.5075) |
| Luminance | 0.2678 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.48
Lavender Blue
#8B88F8
ΔE00 3.12
Perrywinkle
#8F8CE7
ΔE00 4.14
Mediumpurple
#9370DB
ΔE00 5.95
Cornflower
#6A79F7
ΔE00 6.11
Mediumslateblue
#7B68EE
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7FED #E1ED7F
analogous
#7FAAED #8B7FED #C27FED
triadic
#8B7FED #ED8B7F #7FED8B
tetradic
#8B7FED #ED7FAA #E1ED7F #7FEDC2
square
#8B7FED #ED7FAA #E1ED7F #7FEDC2
split-complementary
#8B7FED #EDC27F #AAED7F
monochromatic
#321ED4 #5A49E5 #8B7FED #BCB5F5 #E7E4FB
Accessibility & contrast
On white
3.30
#8B7FED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.36
#8B7FED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7FED
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7FED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7FED | 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)
#5490F1
Deuteranopia (green-blind)
#528AEA
Tritanopia (blue-blind)
#6E95AB
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #8b7fed; /* rgb */ color: rgb(139, 127, 237); /* oklch */ color: oklch(65.7% 0.160 286.1);
Tailwind
colors: {
custom: {
50: '#b1a4f3',
500: '#8b7fed',
950: '#000000',
},
}SCSS
$custom: #8b7fed; $custom-light: #b1a4f3; $custom-dark: #000000;
JSON
{
"hex": "#8b7fed",
"rgb": {
"r": 139,
"g": 127,
"b": 237
},
"hsl": {
"h": 246.545,
"s": 75.342,
"l": 71.373
},
"oklch": {
"l": 0.65689,
"c": 0.15957,
"h": 286.1
},
"luminance": 0.26782
}Semantic roles & 50–950 ramp
primary
#8B7FED
secondary
#EFF2D6
accent
#D80EC2
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85