#8A7FF1#8A7FF1
#8A7FF1 is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.8% C 0.165 H 285.3°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7FF1 |
|---|---|
| RGB | rgb(138, 127, 241) |
| HSL | hsl(246, 80%, 72%) |
| HSV | hsv(246, 47%, 95%) |
| CMYK | cmyk(42.7%, 47.3%, 0%, 5.5%) |
| CIE-LAB | lab(58.91, 31.85, -56.15) |
| CIE-LCH | lch(58.91, 64.56, 299.56°) |
| OKLab | oklab(65.85% 0.0436 -0.1592) |
| OKLCH | oklch(65.85% 0.165 285.3) |
| XYZ | xyz(33.9432, 26.9315, 86.6119) |
| Luminance | 0.2693 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.97
Lavender Blue
#8B88F8
ΔE00 2.83
Perrywinkle
#8F8CE7
ΔE00 4.35
Cornflower
#6A79F7
ΔE00 5.72
Mediumpurple
#9370DB
ΔE00 6.36
Mediumslateblue
#7B68EE
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7FF1 #E6F17F
analogous
#7FADF1 #8A7FF1 #C37FF1
triadic
#8A7FF1 #F18A7F #7FF18A
tetradic
#8A7FF1 #F17FAD #E6F17F #7FF1C3
square
#8A7FF1 #F17FAD #E6F17F #7FF1C3
split-complementary
#8A7FF1 #F1C37F #ADF17F
monochromatic
#2B18DD #5848EB #8A7FF1 #BCB6F7 #E6E3FC
Accessibility & contrast
On white
3.29
#8A7FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.39
#8A7FF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7FF1
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7FF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7FF1 | 1.00 | 3.29 | 6.39 | 6.39 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5191F5
Deuteranopia (green-blind)
#4E8AEE
Tritanopia (blue-blind)
#6A97AD
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #8a7ff1; /* rgb */ color: rgb(138, 127, 241); /* oklch */ color: oklch(65.8% 0.165 285.3);
Tailwind
colors: {
custom: {
50: '#b1a4f6',
500: '#8a7ff1',
950: '#000000',
},
}SCSS
$custom: #8a7ff1; $custom-light: #b1a4f6; $custom-dark: #000000;
JSON
{
"hex": "#8a7ff1",
"rgb": {
"r": 138,
"g": 127,
"b": 241
},
"hsl": {
"h": 245.789,
"s": 80.282,
"l": 72.157
},
"oklch": {
"l": 0.65846,
"c": 0.16504,
"h": 285.3
},
"luminance": 0.26933
}Semantic roles & 50–950 ramp
primary
#8A7FF1
secondary
#F1F4D7
accent
#DD09C8
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85