#8A7CDB#8A7CDB
#8A7CDB is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.0% C 0.139 H 288.6°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7CDB |
|---|---|
| RGB | rgb(138, 124, 219) |
| HSL | hsl(249, 57%, 67%) |
| HSV | hsv(249, 43%, 86%) |
| CMYK | cmyk(37%, 43.4%, 0%, 14.1%) |
| CIE-LAB | lab(57.01, 27.51, -46.91) |
| CIE-LCH | lch(57.01, 54.38, 300.39°) |
| OKLab | oklab(64.03% 0.0444 -0.1321) |
| OKLCH | oklch(64.03% 0.139 288.6) |
| XYZ | xyz(30.4716, 24.9322, 70.2110) |
| Luminance | 0.2493 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.49
Perrywinkle
#8F8CE7
ΔE00 5.04
Periwinkle (survey)
#8E82FE
ΔE00 5.34
Lavender Blue
#8B88F8
ΔE00 5.58
Mediumslateblue
#7B68EE
ΔE00 7.16
Cornflower
#6A79F7
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7CDB #CDDB7C
analogous
#7C9EDB #8A7CDB #B97CDB
triadic
#8A7CDB #DB8A7C #7CDB8A
tetradic
#8A7CDB #DB7C9E #CDDB7C #7CDBB9
square
#8A7CDB #DB7C9E #CDDB7C #7CDBB9
split-complementary
#8A7CDB #DBB97C #9EDB7C
monochromatic
#4230AD #5F4CCE #8A7CDB #B5ACE8 #E0DCF5
Accessibility & contrast
On white
3.51
#8A7CDB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.99
#8A7CDB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7CDB
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7CDB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7CDB | 1.00 | 3.51 | 5.99 | 5.99 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B8BDF
Deuteranopia (green-blind)
#5B86D9
Tritanopia (blue-blind)
#758EA1
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8a7cdb; /* rgb */ color: rgb(138, 124, 219); /* oklch */ color: oklch(64.0% 0.139 288.6);
Tailwind
colors: {
custom: {
50: '#afa2e6',
500: '#8a7cdb',
950: '#000000',
},
}SCSS
$custom: #8a7cdb; $custom-light: #afa2e6; $custom-dark: #000000;
JSON
{
"hex": "#8a7cdb",
"rgb": {
"r": 138,
"g": 124,
"b": 219
},
"hsl": {
"h": 248.842,
"s": 56.886,
"l": 67.255
},
"oklch": {
"l": 0.64029,
"c": 0.13941,
"h": 288.6
},
"luminance": 0.24933
}Semantic roles & 50–950 ramp
primary
#8A7CDB
secondary
#E4E8CA
accent
#C421AC
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110F16
muted
#807E84