#8A7FF7#8A7FF7
#8A7FF7 is a light, vivid blue. Relative luminance 0.273; OKLCH L 66.2% C 0.173 H 284.8°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7FF7 |
|---|---|
| RGB | rgb(138, 127, 247) |
| HSL | hsl(246, 88%, 73%) |
| HSV | hsv(246, 49%, 97%) |
| CMYK | cmyk(44.1%, 48.6%, 0%, 3.1%) |
| CIE-LAB | lab(59.25, 33.54, -58.94) |
| CIE-LCH | lch(59.25, 67.81, 299.65°) |
| OKLab | oklab(66.21% 0.0442 -0.1673) |
| OKLCH | oklch(66.21% 0.173 284.8) |
| XYZ | xyz(34.8542, 27.2959, 91.4098) |
| Luminance | 0.2730 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.32
Lavender Blue
#8B88F8
ΔE00 2.68
Perrywinkle
#8F8CE7
ΔE00 4.76
Cornflower
#6A79F7
ΔE00 5.55
Mediumpurple
#9370DB
ΔE00 6.85
Mediumslateblue
#7B68EE
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7FF7 #ECF77F
analogous
#7FB0F7 #8A7FF7 #C67FF7
triadic
#8A7FF7 #F78A7F #7FF78A
tetradic
#8A7FF7 #F77FB0 #ECF77F #7FF7C6
square
#8A7FF7 #F77FB0 #ECF77F #7FF7C6
split-complementary
#8A7FF7 #F7C67F #B0F77F
monochromatic
#230FED #5545F3 #8A7FF7 #BFB9FB #E5E2FD
Accessibility & contrast
On white
3.25
#8A7FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#8A7FF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7FF7
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7FF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7FF7 | 1.00 | 3.25 | 6.46 | 6.46 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C92FB
Deuteranopia (green-blind)
#488BF4
Tritanopia (blue-blind)
#6798AF
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #8a7ff7; /* rgb */ color: rgb(138, 127, 247); /* oklch */ color: oklch(66.2% 0.173 284.8);
Tailwind
colors: {
custom: {
50: '#b2a4fa',
500: '#8a7ff7',
950: '#000000',
},
}SCSS
$custom: #8a7ff7; $custom-light: #b2a4fa; $custom-dark: #000000;
JSON
{
"hex": "#8a7ff7",
"rgb": {
"r": 138,
"g": 127,
"b": 247
},
"hsl": {
"h": 245.5,
"s": 88.235,
"l": 73.333
},
"oklch": {
"l": 0.66208,
"c": 0.17308,
"h": 284.8
},
"luminance": 0.27297
}Semantic roles & 50–950 ramp
primary
#8A7FF7
secondary
#F2F5D6
accent
#E501D0
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85