#8A7FF8#8A7FF8
#8A7FF8 is a light, vivid blue. Relative luminance 0.274; OKLCH L 66.3% C 0.174 H 284.7°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7FF8 |
|---|---|
| RGB | rgb(138, 127, 248) |
| HSL | hsl(245, 90%, 74%) |
| HSV | hsv(245, 49%, 97%) |
| CMYK | cmyk(44.4%, 48.8%, 0%, 2.7%) |
| CIE-LAB | lab(59.30, 33.83, -59.40) |
| CIE-LCH | lch(59.30, 68.35, 299.66°) |
| OKLab | oklab(66.27% 0.0443 -0.1687) |
| OKLCH | oklch(66.27% 0.174 284.7) |
| XYZ | xyz(35.0089, 27.3578, 92.2247) |
| Luminance | 0.2736 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.24
Lavender Blue
#8B88F8
ΔE00 2.68
Perrywinkle
#8F8CE7
ΔE00 4.84
Cornflower
#6A79F7
ΔE00 5.54
Mediumpurple
#9370DB
ΔE00 6.94
Mediumslateblue
#7B68EE
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7FF8 #EDF87F
analogous
#7FB0F8 #8A7FF8 #C77FF8
triadic
#8A7FF8 #F88A7F #7FF88A
tetradic
#8A7FF8 #F87FB0 #EDF87F #7FF8C7
square
#8A7FF8 #F87FB0 #EDF87F #7FF8C7
split-complementary
#8A7FF8 #F8C77F #B0F87F
monochromatic
#220DF0 #5545F5 #8A7FF8 #BFB9FB #E4E2FD
Accessibility & contrast
On white
3.24
#8A7FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.47
#8A7FF8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7FF8
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7FF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7FF8 | 1.00 | 3.24 | 6.47 | 6.47 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B92FC
Deuteranopia (green-blind)
#468BF5
Tritanopia (blue-blind)
#6798B0
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #8a7ff8; /* rgb */ color: rgb(138, 127, 248); /* oklch */ color: oklch(66.3% 0.174 284.7);
Tailwind
colors: {
custom: {
50: '#b2a4fb',
500: '#8a7ff8',
950: '#000000',
},
}SCSS
$custom: #8a7ff8; $custom-light: #b2a4fb; $custom-dark: #000000;
JSON
{
"hex": "#8a7ff8",
"rgb": {
"r": 138,
"g": 127,
"b": 248
},
"hsl": {
"h": 245.455,
"s": 89.63,
"l": 73.529
},
"oklch": {
"l": 0.66269,
"c": 0.1744,
"h": 284.7
},
"luminance": 0.27359
}Semantic roles & 50–950 ramp
primary
#8A7FF8
secondary
#F3F5D6
accent
#E600D1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85