#8A7EEF#8A7EEF
#8A7EEF is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.5% C 0.164 H 285.8°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7EEF |
|---|---|
| RGB | rgb(138, 126, 239) |
| HSL | hsl(246, 78%, 72%) |
| HSV | hsv(246, 47%, 94%) |
| CMYK | cmyk(42.3%, 47.3%, 0%, 6.3%) |
| CIE-LAB | lab(58.56, 31.87, -55.60) |
| CIE-LCH | lch(58.56, 64.09, 299.82°) |
| OKLab | oklab(65.55% 0.0446 -0.1576) |
| OKLCH | oklch(65.55% 0.164 285.8) |
| XYZ | xyz(33.5176, 26.5557, 85.0043) |
| Luminance | 0.2656 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.33
Lavender Blue
#8B88F8
ΔE00 3.21
Perrywinkle
#8F8CE7
ΔE00 4.52
Cornflower
#6A79F7
ΔE00 5.80
Mediumpurple
#9370DB
ΔE00 5.97
Mediumslateblue
#7B68EE
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7EEF #E3EF7E
analogous
#7EABEF #8A7EEF #C37EEF
triadic
#8A7EEF #EF8A7E #7EEF8A
tetradic
#8A7EEF #EF7EAB #E3EF7E #7EEFC3
square
#8A7EEF #EF7EAB #E3EF7E #7EEFC3
split-complementary
#8A7EEF #EFC37E #ABEF7E
monochromatic
#2F1BD8 #5948E8 #8A7EEF #BBB4F6 #E6E4FC
Accessibility & contrast
On white
3.33
#8A7EEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.31
#8A7EEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7EEF
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7EEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7EEF | 1.00 | 3.33 | 6.31 | 6.31 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5190F3
Deuteranopia (green-blind)
#4E8AEC
Tritanopia (blue-blind)
#6C95AB
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #8a7eef; /* rgb */ color: rgb(138, 126, 239); /* oklch */ color: oklch(65.5% 0.164 285.8);
Tailwind
colors: {
custom: {
50: '#b1a3f5',
500: '#8a7eef',
950: '#000000',
},
}SCSS
$custom: #8a7eef; $custom-light: #b1a3f5; $custom-dark: #000000;
JSON
{
"hex": "#8a7eef",
"rgb": {
"r": 138,
"g": 126,
"b": 239
},
"hsl": {
"h": 246.372,
"s": 77.931,
"l": 71.569
},
"oklch": {
"l": 0.65547,
"c": 0.16375,
"h": 285.8
},
"luminance": 0.26557
}Semantic roles & 50–950 ramp
primary
#8A7EEF
secondary
#F0F3D6
accent
#DA0BC4
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#110F17
muted
#807F85