#8A7FE9#8A7FE9
#8A7FE9 is a light, vivid blue. Relative luminance 0.265; OKLCH L 65.4% C 0.154 H 286.0°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7FE9 |
|---|---|
| RGB | rgb(138, 127, 233) |
| HSL | hsl(246, 71%, 71%) |
| HSV | hsv(246, 45%, 91%) |
| CMYK | cmyk(40.8%, 45.5%, 0%, 8.6%) |
| CIE-LAB | lab(58.47, 29.61, -52.41) |
| CIE-LCH | lch(58.47, 60.19, 299.46°) |
| OKLab | oklab(65.38% 0.0426 -0.1482) |
| OKLCH | oklch(65.38% 0.154 286) |
| XYZ | xyz(32.7744, 26.4640, 80.4562) |
| Luminance | 0.2646 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.04
Lavender Blue
#8B88F8
ΔE00 3.39
Perrywinkle
#8F8CE7
ΔE00 3.99
Mediumpurple
#9370DB
ΔE00 5.82
Cornflower
#6A79F7
ΔE00 6.17
Mediumslateblue
#7B68EE
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7FE9 #DEE97F
analogous
#7FA9E9 #8A7FE9 #BF7FE9
triadic
#8A7FE9 #E98A7F #7FE98A
tetradic
#8A7FE9 #E97FA9 #DEE97F #7FE9BF
square
#8A7FE9 #E97FA9 #DEE97F #7FE9BF
split-complementary
#8A7FE9 #E9BF7F #A9E97F
monochromatic
#3423CB #5A4BE0 #8A7FE9 #BAB3F2 #E7E5FB
Accessibility & contrast
On white
3.34
#8A7FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.29
#8A7FE9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7FE9
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7FE9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7FE9 | 1.00 | 3.34 | 6.29 | 6.29 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5790ED
Deuteranopia (green-blind)
#558AE7
Tritanopia (blue-blind)
#6E94A9
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #8a7fe9; /* rgb */ color: rgb(138, 127, 233); /* oklch */ color: oklch(65.4% 0.154 286.0);
Tailwind
colors: {
custom: {
50: '#b0a4f0',
500: '#8a7fe9',
950: '#000000',
},
}SCSS
$custom: #8a7fe9; $custom-light: #b0a4f0; $custom-dark: #000000;
JSON
{
"hex": "#8a7fe9",
"rgb": {
"r": 138,
"g": 127,
"b": 233
},
"hsl": {
"h": 246.226,
"s": 70.667,
"l": 70.588
},
"oklch": {
"l": 0.65376,
"c": 0.15421,
"h": 286
},
"luminance": 0.26465
}Semantic roles & 50–950 ramp
primary
#8A7FE9
secondary
#EDF0D4
accent
#D313BF
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85