#8A7EE7#8A7EE7
#8A7EE7 is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.1% C 0.153 H 286.6°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7EE7 |
|---|---|
| RGB | rgb(138, 126, 231) |
| HSL | hsl(247, 69%, 70%) |
| HSV | hsv(247, 45%, 91%) |
| CMYK | cmyk(40.3%, 45.5%, 0%, 9.4%) |
| CIE-LAB | lab(58.13, 29.63, -51.85) |
| CIE-LCH | lch(58.13, 59.72, 299.75°) |
| OKLab | oklab(65.08% 0.0436 -0.1466) |
| OKLCH | oklch(65.08% 0.153 286.6) |
| XYZ | xyz(32.3618, 26.0934, 78.9172) |
| Luminance | 0.2610 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.39
Lavender Blue
#8B88F8
ΔE00 3.81
Perrywinkle
#8F8CE7
ΔE00 4.25
Mediumpurple
#9370DB
ΔE00 5.44
Cornflower
#6A79F7
ΔE00 6.31
Mediumslateblue
#7B68EE
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7EE7 #DBE77E
analogous
#7EA7E7 #8A7EE7 #BE7EE7
triadic
#8A7EE7 #E78A7E #7EE78A
tetradic
#8A7EE7 #E77EA7 #DBE77E #7EE7BE
square
#8A7EE7 #E77EA7 #DBE77E #7EE7BE
split-complementary
#8A7EE7 #E7BE7E #A7E77E
monochromatic
#3725C6 #5B4ADD #8A7EE7 #B9B2F1 #E8E5FA
Accessibility & contrast
On white
3.38
#8A7EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#8A7EE7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7EE7
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7EE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7EE7 | 1.00 | 3.38 | 6.22 | 6.22 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#578EEB
Deuteranopia (green-blind)
#5589E5
Tritanopia (blue-blind)
#6F93A7
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #8a7ee7; /* rgb */ color: rgb(138, 126, 231); /* oklch */ color: oklch(65.1% 0.153 286.6);
Tailwind
colors: {
custom: {
50: '#b0a3ef',
500: '#8a7ee7',
950: '#000000',
},
}SCSS
$custom: #8a7ee7; $custom-light: #b0a3ef; $custom-dark: #000000;
JSON
{
"hex": "#8a7ee7",
"rgb": {
"r": 138,
"g": 126,
"b": 231
},
"hsl": {
"h": 246.857,
"s": 68.627,
"l": 70
},
"oklch": {
"l": 0.65077,
"c": 0.15292,
"h": 286.6
},
"luminance": 0.26095
}Semantic roles & 50–950 ramp
primary
#8A7EE7
secondary
#ECEFD2
accent
#D115BB
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84