#8A7EE5#8A7EE5
#8A7EE5 is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.0% C 0.150 H 286.8°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7EE5 |
|---|---|
| RGB | rgb(138, 126, 229) |
| HSL | hsl(247, 66%, 70%) |
| HSV | hsv(247, 45%, 90%) |
| CMYK | cmyk(39.7%, 45%, 0%, 10.2%) |
| CIE-LAB | lab(58.02, 29.08, -50.90) |
| CIE-LCH | lch(58.02, 58.63, 299.74°) |
| OKLab | oklab(64.96% 0.0433 -0.1438) |
| OKLCH | oklch(64.96% 0.15 286.8) |
| XYZ | xyz(32.0810, 25.9810, 77.4381) |
| Luminance | 0.2598 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.68
Lavender Blue
#8B88F8
ΔE00 4.01
Perrywinkle
#8F8CE7
ΔE00 4.23
Mediumpurple
#9370DB
ΔE00 5.34
Cornflower
#6A79F7
ΔE00 6.47
Mediumslateblue
#7B68EE
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7EE5 #D9E57E
analogous
#7EA6E5 #8A7EE5 #BD7EE5
triadic
#8A7EE5 #E58A7E #7EE58A
tetradic
#8A7EE5 #E57EA6 #D9E57E #7EE5BD
square
#8A7EE5 #E57EA6 #D9E57E #7EE5BD
split-complementary
#8A7EE5 #E5BD7E #A6E57E
monochromatic
#3927C2 #5C4BDB #8A7EE5 #B8B1EF #E6E4FA
Accessibility & contrast
On white
3.39
#8A7EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.20
#8A7EE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7EE5
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7EE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7EE5 | 1.00 | 3.39 | 6.20 | 6.20 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#588EE9
Deuteranopia (green-blind)
#5789E3
Tritanopia (blue-blind)
#7093A6
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #8a7ee5; /* rgb */ color: rgb(138, 126, 229); /* oklch */ color: oklch(65.0% 0.150 286.8);
Tailwind
colors: {
custom: {
50: '#b0a3ee',
500: '#8a7ee5',
950: '#000000',
},
}SCSS
$custom: #8a7ee5; $custom-light: #b0a3ee; $custom-dark: #000000;
JSON
{
"hex": "#8a7ee5",
"rgb": {
"r": 138,
"g": 126,
"b": 229
},
"hsl": {
"h": 246.99,
"s": 66.452,
"l": 69.608
},
"oklch": {
"l": 0.64962,
"c": 0.1502,
"h": 286.8
},
"luminance": 0.25982
}Semantic roles & 50–950 ramp
primary
#8A7EE5
secondary
#EBEED1
accent
#CE17B9
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84