#8A7AE7#8A7AE7
#8A7AE7 is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.4% C 0.159 H 287.8°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7AE7 |
|---|---|
| RGB | rgb(138, 122, 231) |
| HSL | hsl(249, 69%, 69%) |
| HSV | hsv(249, 47%, 91%) |
| CMYK | cmyk(40.3%, 47.2%, 0%, 9.4%) |
| CIE-LAB | lab(57.16, 31.97, -53.38) |
| CIE-LCH | lch(57.16, 62.22, 300.92°) |
| OKLab | oklab(64.35% 0.0486 -0.1511) |
| OKLCH | oklch(64.35% 0.159 287.8) |
| XYZ | xyz(31.8605, 25.0908, 78.7501) |
| Luminance | 0.2509 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.91
Mediumpurple
#9370DB
ΔE00 4.42
Lavender Blue
#8B88F8
ΔE00 4.82
Perrywinkle
#8F8CE7
ΔE00 5.47
Mediumslateblue
#7B68EE
ΔE00 5.87
Cornflower
#6A79F7
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7AE7 #D7E77A
analogous
#7AA1E7 #8A7AE7 #C17AE7
triadic
#8A7AE7 #E78A7A #7AE78A
tetradic
#8A7AE7 #E77AA1 #D7E77A #7AE7C1
square
#8A7AE7 #E77AA1 #D7E77A #7AE7C1
split-complementary
#8A7AE7 #E7C17A #A1E77A
monochromatic
#3B23C3 #5C46DE #8A7AE7 #B8AEF0 #E5E2FA
Accessibility & contrast
On white
3.49
#8A7AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.02
#8A7AE7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7AE7
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7AE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7AE7 | 1.00 | 3.49 | 6.02 | 6.02 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#508CEB
Deuteranopia (green-blind)
#4F86E4
Tritanopia (blue-blind)
#7090A5
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8a7ae7; /* rgb */ color: rgb(138, 122, 231); /* oklch */ color: oklch(64.4% 0.159 287.8);
Tailwind
colors: {
custom: {
50: '#b0a0ef',
500: '#8a7ae7',
950: '#000000',
},
}SCSS
$custom: #8a7ae7; $custom-light: #b0a0ef; $custom-dark: #000000;
JSON
{
"hex": "#8a7ae7",
"rgb": {
"r": 138,
"g": 122,
"b": 231
},
"hsl": {
"h": 248.807,
"s": 69.427,
"l": 69.216
},
"oklch": {
"l": 0.64353,
"c": 0.15869,
"h": 287.8
},
"luminance": 0.25092
}Semantic roles & 50–950 ramp
primary
#8A7AE7
secondary
#EAEECF
accent
#D114B6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F16
muted
#807E84