#8A7AF6#8A7AF6
#8A7AF6 is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.3% C 0.179 H 286.2°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7AF6 |
|---|---|
| RGB | rgb(138, 122, 246) |
| HSL | hsl(248, 87%, 72%) |
| HSV | hsv(248, 50%, 96%) |
| CMYK | cmyk(43.9%, 50.4%, 0%, 3.5%) |
| CIE-LAB | lab(58.01, 36.16, -60.36) |
| CIE-LCH | lch(58.01, 70.36, 300.92°) |
| OKLab | oklab(65.26% 0.05 -0.1715) |
| OKLCH | oklch(65.26% 0.179 286.2) |
| XYZ | xyz(34.0705, 25.9748, 90.3894) |
| Luminance | 0.2598 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.51
Lavender Blue
#8B88F8
ΔE00 4.17
Cornflower
#6A79F7
ΔE00 5.64
Mediumslateblue
#7B68EE
ΔE00 5.76
Mediumpurple
#9370DB
ΔE00 5.78
Perrywinkle
#8F8CE7
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7AF6 #E6F67A
analogous
#7AA8F6 #8A7AF6 #C87AF6
triadic
#8A7AF6 #F68A7A #7AF68A
tetradic
#8A7AF6 #F67AA8 #E6F67A #7AF6C8
square
#8A7AF6 #F67AA8 #E6F67A #7AF6C8
split-complementary
#8A7AF6 #F6C87A #A8F67A
monochromatic
#2B10E6 #5841F2 #8A7AF6 #BCB3FA #E6E2FD
Accessibility & contrast
On white
3.39
#8A7AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.20
#8A7AF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7AF6
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7AF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7AF6 | 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)
#428FFA
Deuteranopia (green-blind)
#4088F3
Tritanopia (blue-blind)
#6894AD
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #8a7af6; /* rgb */ color: rgb(138, 122, 246); /* oklch */ color: oklch(65.3% 0.179 286.2);
Tailwind
colors: {
custom: {
50: '#b2a0fa',
500: '#8a7af6',
950: '#000000',
},
}SCSS
$custom: #8a7af6; $custom-light: #b2a0fa; $custom-dark: #000000;
JSON
{
"hex": "#8a7af6",
"rgb": {
"r": 138,
"g": 122,
"b": 246
},
"hsl": {
"h": 247.742,
"s": 87.324,
"l": 72.157
},
"oklch": {
"l": 0.65264,
"c": 0.17867,
"h": 286.2
},
"luminance": 0.25976
}Semantic roles & 50–950 ramp
primary
#8A7AF6
secondary
#F1F5D6
accent
#E402C7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85