#8A7BF0#8A7BF0
#8A7BF0 is a light, vivid blue. Relative luminance 0.259; OKLCH L 65.1% C 0.169 H 286.6°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7BF0 |
|---|---|
| RGB | rgb(138, 123, 240) |
| HSL | hsl(248, 80%, 71%) |
| HSV | hsv(248, 49%, 94%) |
| CMYK | cmyk(42.5%, 48.7%, 0%, 5.9%) |
| CIE-LAB | lab(57.90, 33.89, -57.21) |
| CIE-LCH | lch(57.90, 66.50, 300.64°) |
| OKLab | oklab(65.07% 0.0483 -0.1623) |
| OKLCH | oklch(65.07% 0.169 286.6) |
| XYZ | xyz(33.2879, 25.8592, 85.6586) |
| Luminance | 0.2586 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.74
Lavender Blue
#8B88F8
ΔE00 4.02
Mediumpurple
#9370DB
ΔE00 5.39
Perrywinkle
#8F8CE7
ΔE00 5.42
Cornflower
#6A79F7
ΔE00 5.79
Mediumslateblue
#7B68EE
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7BF0 #E1F07B
analogous
#7BA6F0 #8A7BF0 #C47BF0
triadic
#8A7BF0 #F08A7B #7BF08A
tetradic
#8A7BF0 #F07BA6 #E1F07B #7BF0C4
square
#8A7BF0 #F07BA6 #E1F07B #7BF0C4
split-complementary
#8A7BF0 #F0C47B #A6F07B
monochromatic
#3119D8 #5944EA #8A7BF0 #BBB2F6 #E7E4FC
Accessibility & contrast
On white
3.40
#8A7BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#8A7BF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7BF0
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7BF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7BF0 | 1.00 | 3.40 | 6.17 | 6.17 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A8EF4
Deuteranopia (green-blind)
#4888ED
Tritanopia (blue-blind)
#6B93AA
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #8a7bf0; /* rgb */ color: rgb(138, 123, 240); /* oklch */ color: oklch(65.1% 0.169 286.6);
Tailwind
colors: {
custom: {
50: '#b1a1f5',
500: '#8a7bf0',
950: '#000000',
},
}SCSS
$custom: #8a7bf0; $custom-light: #b1a1f5; $custom-dark: #000000;
JSON
{
"hex": "#8a7bf0",
"rgb": {
"r": 138,
"g": 123,
"b": 240
},
"hsl": {
"h": 247.692,
"s": 79.592,
"l": 71.176
},
"oklch": {
"l": 0.6507,
"c": 0.16932,
"h": 286.6
},
"luminance": 0.2586
}Semantic roles & 50–950 ramp
primary
#8A7BF0
secondary
#EFF3D4
accent
#DC0AC1
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110F17
muted
#807E85