#8A7EF0#8A7EF0
#8A7EF0 is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.6% C 0.165 H 285.7°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7EF0 |
|---|---|
| RGB | rgb(138, 126, 240) |
| HSL | hsl(246, 79%, 72%) |
| HSV | hsv(246, 48%, 94%) |
| CMYK | cmyk(42.5%, 47.5%, 0%, 5.9%) |
| CIE-LAB | lab(58.62, 32.15, -56.07) |
| CIE-LCH | lch(58.62, 64.63, 299.83°) |
| OKLab | oklab(65.61% 0.0447 -0.1589) |
| OKLCH | oklch(65.61% 0.165 285.7) |
| XYZ | xyz(33.6658, 26.6149, 85.7845) |
| Luminance | 0.2662 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.21
Lavender Blue
#8B88F8
ΔE00 3.16
Perrywinkle
#8F8CE7
ΔE00 4.57
Cornflower
#6A79F7
ΔE00 5.75
Mediumpurple
#9370DB
ΔE00 6.05
Mediumslateblue
#7B68EE
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7EF0 #E4F07E
analogous
#7EABF0 #8A7EF0 #C37EF0
triadic
#8A7EF0 #F08A7E #7EF08A
tetradic
#8A7EF0 #F07EAB #E4F07E #7EF0C3
square
#8A7EF0 #F07EAB #E4F07E #7EF0C3
split-complementary
#8A7EF0 #F0C37E #ABF07E
monochromatic
#2E19DA #5847EA #8A7EF0 #BCB5F6 #E6E4FC
Accessibility & contrast
On white
3.32
#8A7EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#8A7EF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7EF0
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7EF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7EF0 | 1.00 | 3.32 | 6.32 | 6.32 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5090F4
Deuteranopia (green-blind)
#4D8AED
Tritanopia (blue-blind)
#6B96AC
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #8a7ef0; /* rgb */ color: rgb(138, 126, 240); /* oklch */ color: oklch(65.6% 0.165 285.7);
Tailwind
colors: {
custom: {
50: '#b1a3f5',
500: '#8a7ef0',
950: '#000000',
},
}SCSS
$custom: #8a7ef0; $custom-light: #b1a3f5; $custom-dark: #000000;
JSON
{
"hex": "#8a7ef0",
"rgb": {
"r": 138,
"g": 126,
"b": 240
},
"hsl": {
"h": 246.316,
"s": 79.167,
"l": 71.765
},
"oklch": {
"l": 0.65606,
"c": 0.1651,
"h": 285.7
},
"luminance": 0.26616
}Semantic roles & 50–950 ramp
primary
#8A7EF0
secondary
#F0F3D6
accent
#DB0AC5
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#110F17
muted
#807F85