#8A7FF3#8A7FF3
#8A7FF3 is a light, vivid blue. Relative luminance 0.271; OKLCH L 66.0% C 0.168 H 285.1°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7FF3 |
|---|---|
| RGB | rgb(138, 127, 243) |
| HSL | hsl(246, 83%, 73%) |
| HSV | hsv(246, 48%, 95%) |
| CMYK | cmyk(43.2%, 47.7%, 0%, 4.7%) |
| CIE-LAB | lab(59.02, 32.41, -57.08) |
| CIE-LCH | lch(59.02, 65.64, 299.59°) |
| OKLab | oklab(65.97% 0.0438 -0.1619) |
| OKLCH | oklch(65.97% 0.168 285.1) |
| XYZ | xyz(34.2436, 27.0517, 88.1938) |
| Luminance | 0.2705 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.74
Lavender Blue
#8B88F8
ΔE00 2.75
Perrywinkle
#8F8CE7
ΔE00 4.48
Cornflower
#6A79F7
ΔE00 5.65
Mediumpurple
#9370DB
ΔE00 6.52
Mediumslateblue
#7B68EE
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7FF3 #E8F37F
analogous
#7FAEF3 #8A7FF3 #C47FF3
triadic
#8A7FF3 #F38A7F #7FF38A
tetradic
#8A7FF3 #F37FAE #E8F37F #7FF3C4
square
#8A7FF3 #F37FAE #E8F37F #7FF3C4
split-complementary
#8A7FF3 #F3C47F #AEF37F
monochromatic
#2915E2 #5747EE #8A7FF3 #BDB7F8 #E5E3FC
Accessibility & contrast
On white
3.28
#8A7FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.41
#8A7FF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7FF3
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7FF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7FF3 | 1.00 | 3.28 | 6.41 | 6.41 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F91F7
Deuteranopia (green-blind)
#4C8BF0
Tritanopia (blue-blind)
#6997AD
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #8a7ff3; /* rgb */ color: rgb(138, 127, 243); /* oklch */ color: oklch(66.0% 0.168 285.1);
Tailwind
colors: {
custom: {
50: '#b1a4f8',
500: '#8a7ff3',
950: '#000000',
},
}SCSS
$custom: #8a7ff3; $custom-light: #b1a4f8; $custom-dark: #000000;
JSON
{
"hex": "#8a7ff3",
"rgb": {
"r": 138,
"g": 127,
"b": 243
},
"hsl": {
"h": 245.69,
"s": 82.857,
"l": 72.549
},
"oklch": {
"l": 0.65966,
"c": 0.16773,
"h": 285.1
},
"luminance": 0.27053
}Semantic roles & 50–950 ramp
primary
#8A7FF3
secondary
#F1F4D7
accent
#DF06CB
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85