#8A7AEF#8A7AEF
#8A7AEF is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.8% C 0.169 H 287.0°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7AEF |
|---|---|
| RGB | rgb(138, 122, 239) |
| HSL | hsl(248, 79%, 71%) |
| HSV | hsv(248, 49%, 94%) |
| CMYK | cmyk(42.3%, 49%, 0%, 6.3%) |
| CIE-LAB | lab(57.61, 34.19, -57.12) |
| CIE-LCH | lch(57.61, 66.57, 300.90°) |
| OKLab | oklab(64.83% 0.0494 -0.162) |
| OKLCH | oklch(64.83% 0.169 287) |
| XYZ | xyz(33.0163, 25.5531, 84.8372) |
| Luminance | 0.2555 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.04
Lavender Blue
#8B88F8
ΔE00 4.35
Mediumpurple
#9370DB
ΔE00 5.09
Perrywinkle
#8F8CE7
ΔE00 5.67
Mediumslateblue
#7B68EE
ΔE00 5.69
Cornflower
#6A79F7
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7AEF #DFEF7A
analogous
#7AA4EF #8A7AEF #C47AEF
triadic
#8A7AEF #EF8A7A #7AEF8A
tetradic
#8A7AEF #EF7AA4 #DFEF7A #7AEFC4
square
#8A7AEF #EF7AA4 #DFEF7A #7AEFC4
split-complementary
#8A7AEF #EFC47A #A4EF7A
monochromatic
#331AD5 #5A43E8 #8A7AEF #BAB1F6 #E7E4FC
Accessibility & contrast
On white
3.44
#8A7AEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#8A7AEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7AEF
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7AEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7AEF | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#498DF3
Deuteranopia (green-blind)
#4887EC
Tritanopia (blue-blind)
#6C92A9
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #8a7aef; /* rgb */ color: rgb(138, 122, 239); /* oklch */ color: oklch(64.8% 0.169 287.0);
Tailwind
colors: {
custom: {
50: '#b1a0f5',
500: '#8a7aef',
950: '#000000',
},
}SCSS
$custom: #8a7aef; $custom-light: #b1a0f5; $custom-dark: #000000;
JSON
{
"hex": "#8a7aef",
"rgb": {
"r": 138,
"g": 122,
"b": 239
},
"hsl": {
"h": 248.205,
"s": 78.523,
"l": 70.784
},
"oklch": {
"l": 0.64833,
"c": 0.1694,
"h": 287
},
"luminance": 0.25554
}Semantic roles & 50–950 ramp
primary
#8A7AEF
secondary
#EEF2D3
accent
#DB0BBE
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110F17
muted
#807E85