#8A7BEF#8A7BEF
#8A7BEF is a light, vivid blue. Relative luminance 0.258; OKLCH L 65.0% C 0.168 H 286.7°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7BEF |
|---|---|
| RGB | rgb(138, 123, 239) |
| HSL | hsl(248, 78%, 71%) |
| HSV | hsv(248, 49%, 94%) |
| CMYK | cmyk(42.3%, 48.5%, 0%, 6.3%) |
| CIE-LAB | lab(57.85, 33.61, -56.75) |
| CIE-LCH | lch(57.85, 65.95, 300.64°) |
| OKLab | oklab(65.01% 0.0482 -0.1609) |
| OKLCH | oklch(65.01% 0.168 286.7) |
| XYZ | xyz(33.1397, 25.7999, 84.8784) |
| Luminance | 0.2580 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.83
Lavender Blue
#8B88F8
ΔE00 4.07
Mediumpurple
#9370DB
ΔE00 5.30
Perrywinkle
#8F8CE7
ΔE00 5.38
Cornflower
#6A79F7
ΔE00 5.84
Mediumslateblue
#7B68EE
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7BEF #E0EF7B
analogous
#7BA6EF #8A7BEF #C47BEF
triadic
#8A7BEF #EF8A7B #7BEF8A
tetradic
#8A7BEF #EF7BA6 #E0EF7B #7BEFC4
square
#8A7BEF #EF7BA6 #E0EF7B #7BEFC4
split-complementary
#8A7BEF #EFC47B #A6EF7B
monochromatic
#321AD6 #5A44E8 #8A7BEF #BAB2F6 #E7E4FC
Accessibility & contrast
On white
3.41
#8A7BEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#8A7BEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7BEF
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7BEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7BEF | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B8EF3
Deuteranopia (green-blind)
#4988EC
Tritanopia (blue-blind)
#6C93AA
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #8a7bef; /* rgb */ color: rgb(138, 123, 239); /* oklch */ color: oklch(65.0% 0.168 286.7);
Tailwind
colors: {
custom: {
50: '#b1a1f5',
500: '#8a7bef',
950: '#000000',
},
}SCSS
$custom: #8a7bef; $custom-light: #b1a1f5; $custom-dark: #000000;
JSON
{
"hex": "#8a7bef",
"rgb": {
"r": 138,
"g": 123,
"b": 239
},
"hsl": {
"h": 247.759,
"s": 78.378,
"l": 70.98
},
"oklch": {
"l": 0.6501,
"c": 0.16799,
"h": 286.7
},
"luminance": 0.25801
}Semantic roles & 50–950 ramp
primary
#8A7BEF
secondary
#EEF2D3
accent
#DB0BC0
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110F17
muted
#807E85