#8A7EFD#8A7EFD
#8A7EFD is a light, vivid blue. Relative luminance 0.274; OKLCH L 66.4% C 0.182 H 284.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7EFD |
|---|---|
| RGB | rgb(138, 126, 253) |
| HSL | hsl(246, 97%, 74%) |
| HSV | hsv(246, 50%, 99%) |
| CMYK | cmyk(45.5%, 50.2%, 0%, 0.8%) |
| CIE-LAB | lab(59.36, 35.83, -62.07) |
| CIE-LCH | lch(59.36, 71.67, 300.00°) |
| OKLab | oklab(66.4% 0.0459 -0.1765) |
| OKLCH | oklch(66.4% 0.182 284.6) |
| XYZ | xyz(35.6665, 27.4152, 96.3218) |
| Luminance | 0.2742 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.23
Lavender Blue
#8B88F8
ΔE00 3.05
Perrywinkle
#8F8CE7
ΔE00 5.46
Cornflower
#6A79F7
ΔE00 5.51
Mediumslateblue
#7B68EE
ΔE00 6.98
Mediumpurple
#9370DB
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7EFD #F1FD7E
analogous
#7EB2FD #8A7EFD #CA7EFD
triadic
#8A7EFD #FD8A7E #7EFD8A
tetradic
#8A7EFD #FD7EB2 #F1FD7E #7EFDCA
square
#8A7EFD #FD7EB2 #F1FD7E #7EFDCA
split-complementary
#8A7EFD #FDCA7E #B2FD7E
monochromatic
#1D05FB #5342FC #8A7EFD #C1BAFE #E4E1FF
Accessibility & contrast
On white
3.24
#8A7EFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.48
#8A7EFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7EFD
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7EFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7EFD | 1.00 | 3.24 | 6.48 | 6.48 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4493FF
Deuteranopia (green-blind)
#3F8BFA
Tritanopia (blue-blind)
#6499B2
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #8a7efd; /* rgb */ color: rgb(138, 126, 253); /* oklch */ color: oklch(66.4% 0.182 284.6);
Tailwind
colors: {
custom: {
50: '#b2a3ff',
500: '#8a7efd',
950: '#000000',
},
}SCSS
$custom: #8a7efd; $custom-light: #b2a3ff; $custom-dark: #000000;
JSON
{
"hex": "#8a7efd",
"rgb": {
"r": 138,
"g": 126,
"b": 253
},
"hsl": {
"h": 245.669,
"s": 96.947,
"l": 74.314
},
"oklch": {
"l": 0.66401,
"c": 0.1824,
"h": 284.6
},
"luminance": 0.27417
}Semantic roles & 50–950 ramp
primary
#8A7EFD
secondary
#F4F7D4
accent
#E600D0
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86