#8A7FF6#8A7FF6
#8A7FF6 is a light, vivid blue. Relative luminance 0.272; OKLCH L 66.1% C 0.172 H 284.9°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7FF6 |
|---|---|
| RGB | rgb(138, 127, 246) |
| HSL | hsl(246, 87%, 73%) |
| HSV | hsv(246, 48%, 96%) |
| CMYK | cmyk(43.9%, 48.4%, 0%, 3.5%) |
| CIE-LAB | lab(59.19, 33.26, -58.47) |
| CIE-LCH | lch(59.19, 67.27, 299.63°) |
| OKLab | oklab(66.15% 0.0441 -0.166) |
| OKLCH | oklch(66.15% 0.172 284.9) |
| XYZ | xyz(34.7003, 27.2344, 90.5993) |
| Luminance | 0.2724 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.42
Lavender Blue
#8B88F8
ΔE00 2.69
Perrywinkle
#8F8CE7
ΔE00 4.69
Cornflower
#6A79F7
ΔE00 5.57
Mediumpurple
#9370DB
ΔE00 6.77
Mediumslateblue
#7B68EE
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7FF6 #EBF67F
analogous
#7FAFF6 #8A7FF6 #C57FF6
triadic
#8A7FF6 #F68A7F #7FF68A
tetradic
#8A7FF6 #F67FAF #EBF67F #7FF6C5
square
#8A7FF6 #F67FAF #EBF67F #7FF6C5
split-complementary
#8A7FF6 #F6C57F #AFF67F
monochromatic
#2510EA #5646F2 #8A7FF6 #BEB8FA #E5E2FD
Accessibility & contrast
On white
3.26
#8A7FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.45
#8A7FF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7FF6
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7FF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7FF6 | 1.00 | 3.26 | 6.45 | 6.45 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D92FA
Deuteranopia (green-blind)
#498BF3
Tritanopia (blue-blind)
#6898AF
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #8a7ff6; /* rgb */ color: rgb(138, 127, 246); /* oklch */ color: oklch(66.1% 0.172 284.9);
Tailwind
colors: {
custom: {
50: '#b2a4fa',
500: '#8a7ff6',
950: '#000000',
},
}SCSS
$custom: #8a7ff6; $custom-light: #b2a4fa; $custom-dark: #000000;
JSON
{
"hex": "#8a7ff6",
"rgb": {
"r": 138,
"g": 127,
"b": 246
},
"hsl": {
"h": 245.546,
"s": 86.861,
"l": 73.137
},
"oklch": {
"l": 0.66147,
"c": 0.17174,
"h": 284.9
},
"luminance": 0.27236
}Semantic roles & 50–950 ramp
primary
#8A7FF6
secondary
#F2F5D6
accent
#E302CF
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85