#8A7DE0#8A7DE0
#8A7DE0 is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.5% C 0.145 H 287.6°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7DE0 |
|---|---|
| RGB | rgb(138, 125, 224) |
| HSL | hsl(248, 61%, 68%) |
| HSV | hsv(248, 44%, 88%) |
| CMYK | cmyk(38.4%, 44.2%, 0%, 12.2%) |
| CIE-LAB | lab(57.51, 28.29, -48.91) |
| CIE-LCH | lch(57.51, 56.51, 300.04°) |
| OKLab | oklab(64.49% 0.0439 -0.138) |
| OKLCH | oklch(64.49% 0.145 287.6) |
| XYZ | xyz(31.2657, 25.4513, 73.7718) |
| Luminance | 0.2545 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.50
Perrywinkle
#8F8CE7
ΔE00 4.57
Lavender Blue
#8B88F8
ΔE00 4.77
Mediumpurple
#9370DB
ΔE00 4.86
Cornflower
#6A79F7
ΔE00 6.94
Mediumslateblue
#7B68EE
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7DE0 #D3E07D
analogous
#7DA1E0 #8A7DE0 #BB7DE0
triadic
#8A7DE0 #E08A7D #7DE08A
tetradic
#8A7DE0 #E07DA1 #D3E07D #7DE0BB
square
#8A7DE0 #E07DA1 #D3E07D #7DE0BB
split-complementary
#8A7DE0 #E0BB7D #A1E07D
monochromatic
#3E2CB7 #5E4CD4 #8A7DE0 #B6AEEC #E3E0F8
Accessibility & contrast
On white
3.45
#8A7DE0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#8A7DE0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7DE0
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7DE0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7DE0 | 1.00 | 3.45 | 6.09 | 6.09 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A8DE4
Deuteranopia (green-blind)
#5988DE
Tritanopia (blue-blind)
#7390A4
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #8a7de0; /* rgb */ color: rgb(138, 125, 224); /* oklch */ color: oklch(64.5% 0.145 287.6);
Tailwind
colors: {
custom: {
50: '#b0a2ea',
500: '#8a7de0',
950: '#000000',
},
}SCSS
$custom: #8a7de0; $custom-light: #b0a2ea; $custom-dark: #000000;
JSON
{
"hex": "#8a7de0",
"rgb": {
"r": 138,
"g": 125,
"b": 224
},
"hsl": {
"h": 247.879,
"s": 61.491,
"l": 68.431
},
"oklch": {
"l": 0.64494,
"c": 0.1448,
"h": 287.6
},
"luminance": 0.25452
}Semantic roles & 50–950 ramp
primary
#8A7DE0
secondary
#E7EBCE
accent
#C91CB2
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84