#8A7FEE#8A7FEE
#8A7FEE is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.7% C 0.161 H 285.6°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7FEE |
|---|---|
| RGB | rgb(138, 127, 238) |
| HSL | hsl(246, 77%, 72%) |
| HSV | hsv(246, 47%, 93%) |
| CMYK | cmyk(42%, 46.6%, 0%, 6.7%) |
| CIE-LAB | lab(58.75, 31.00, -54.76) |
| CIE-LCH | lch(58.75, 62.92, 299.52°) |
| OKLab | oklab(65.67% 0.0432 -0.1551) |
| OKLCH | oklch(65.67% 0.161 285.6) |
| XYZ | xyz(33.4988, 26.7538, 84.2713) |
| Luminance | 0.2676 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.35
Lavender Blue
#8B88F8
ΔE00 3.00
Perrywinkle
#8F8CE7
ΔE00 4.19
Cornflower
#6A79F7
ΔE00 5.86
Mediumpurple
#9370DB
ΔE00 6.14
Mediumslateblue
#7B68EE
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7FEE #E3EE7F
analogous
#7FACEE #8A7FEE #C27FEE
triadic
#8A7FEE #EE8A7F #7FEE8A
tetradic
#8A7FEE #EE7FAC #E3EE7F #7FEEC2
square
#8A7FEE #EE7FAC #E3EE7F #7FEEC2
split-complementary
#8A7FEE #EEC27F #ACEE7F
monochromatic
#2F1CD6 #5949E7 #8A7FEE #BBB5F5 #E6E4FB
Accessibility & contrast
On white
3.31
#8A7FEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.35
#8A7FEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7FEE
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7FEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7FEE | 1.00 | 3.31 | 6.35 | 6.35 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5390F2
Deuteranopia (green-blind)
#508AEB
Tritanopia (blue-blind)
#6C96AB
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #8a7fee; /* rgb */ color: rgb(138, 127, 238); /* oklch */ color: oklch(65.7% 0.161 285.6);
Tailwind
colors: {
custom: {
50: '#b1a4f4',
500: '#8a7fee',
950: '#000000',
},
}SCSS
$custom: #8a7fee; $custom-light: #b1a4f4; $custom-dark: #000000;
JSON
{
"hex": "#8a7fee",
"rgb": {
"r": 138,
"g": 127,
"b": 238
},
"hsl": {
"h": 245.946,
"s": 76.552,
"l": 71.569
},
"oklch": {
"l": 0.65668,
"c": 0.161,
"h": 285.6
},
"luminance": 0.26755
}Semantic roles & 50–950 ramp
primary
#8A7FEE
secondary
#F0F3D6
accent
#D90DC5
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85