#8A7AEE#8A7AEE
#8A7AEE is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.8% C 0.168 H 287.1°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7AEE |
|---|---|
| RGB | rgb(138, 122, 238) |
| HSL | hsl(248, 77%, 71%) |
| HSV | hsv(248, 49%, 93%) |
| CMYK | cmyk(42%, 48.7%, 0%, 6.7%) |
| CIE-LAB | lab(57.55, 33.91, -56.66) |
| CIE-LCH | lch(57.55, 66.03, 300.90°) |
| OKLab | oklab(64.77% 0.0493 -0.1607) |
| OKLCH | oklch(64.77% 0.168 287.1) |
| XYZ | xyz(32.8690, 25.4942, 84.0614) |
| Luminance | 0.2550 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.14
Lavender Blue
#8B88F8
ΔE00 4.40
Mediumpurple
#9370DB
ΔE00 5.00
Perrywinkle
#8F8CE7
ΔE00 5.63
Mediumslateblue
#7B68EE
ΔE00 5.70
Cornflower
#6A79F7
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7AEE #DEEE7A
analogous
#7AA4EE #8A7AEE #C47AEE
triadic
#8A7AEE #EE8A7A #7AEE8A
tetradic
#8A7AEE #EE7AA4 #DEEE7A #7AEEC4
square
#8A7AEE #EE7AA4 #DEEE7A #7AEEC4
split-complementary
#8A7AEE #EEC47A #A4EE7A
monochromatic
#341BD3 #5A44E7 #8A7AEE #BAB0F5 #E7E4FC
Accessibility & contrast
On white
3.44
#8A7AEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.10
#8A7AEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7AEE
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7AEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7AEE | 1.00 | 3.44 | 6.10 | 6.10 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A8DF2
Deuteranopia (green-blind)
#4987EB
Tritanopia (blue-blind)
#6C92A9
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #8a7aee; /* rgb */ color: rgb(138, 122, 238); /* oklch */ color: oklch(64.8% 0.168 287.1);
Tailwind
colors: {
custom: {
50: '#b1a0f4',
500: '#8a7aee',
950: '#000000',
},
}SCSS
$custom: #8a7aee; $custom-light: #b1a0f4; $custom-dark: #000000;
JSON
{
"hex": "#8a7aee",
"rgb": {
"r": 138,
"g": 122,
"b": 238
},
"hsl": {
"h": 248.276,
"s": 77.333,
"l": 70.588
},
"oklch": {
"l": 0.64772,
"c": 0.16807,
"h": 287.1
},
"luminance": 0.25495
}Semantic roles & 50–950 ramp
primary
#8A7AEE
secondary
#EDF2D2
accent
#DA0CBD
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110F17
muted
#807E85