#8D7AF6#8D7AF6
#8D7AF6 is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.5% C 0.178 H 287.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7AF6 |
|---|---|
| RGB | rgb(141, 122, 246) |
| HSL | hsl(249, 87%, 72%) |
| HSV | hsv(249, 50%, 96%) |
| CMYK | cmyk(42.7%, 50.4%, 0%, 3.5%) |
| CIE-LAB | lab(58.26, 36.84, -59.95) |
| CIE-LCH | lch(58.26, 70.37, 301.57°) |
| OKLab | oklab(65.51% 0.0535 -0.1703) |
| OKLCH | oklch(65.51% 0.178 287.5) |
| XYZ | xyz(34.5739, 26.2343, 90.4130) |
| Luminance | 0.2624 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.54
Lavender Blue
#8B88F8
ΔE00 4.32
Mediumpurple
#9370DB
ΔE00 5.49
Mediumslateblue
#7B68EE
ΔE00 5.95
Perrywinkle
#8F8CE7
ΔE00 6.00
Cornflower
#6A79F7
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7AF6 #E3F67A
analogous
#7AA5F6 #8D7AF6 #CB7AF6
triadic
#8D7AF6 #F68D7A #7AF68D
tetradic
#8D7AF6 #F67AA5 #E3F67A #7AF6CB
square
#8D7AF6 #F67AA5 #E3F67A #7AF6CB
split-complementary
#8D7AF6 #F6CB7A #A5F67A
monochromatic
#3010E6 #5C41F2 #8D7AF6 #BEB3FA #E6E2FD
Accessibility & contrast
On white
3.36
#8D7AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.25
#8D7AF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7AF6
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7AF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7AF6 | 1.00 | 3.36 | 6.25 | 6.25 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#438FFA
Deuteranopia (green-blind)
#4289F3
Tritanopia (blue-blind)
#6E94AD
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #8d7af6; /* rgb */ color: rgb(141, 122, 246); /* oklch */ color: oklch(65.5% 0.178 287.5);
Tailwind
colors: {
custom: {
50: '#b4a1fa',
500: '#8d7af6',
950: '#000000',
},
}SCSS
$custom: #8d7af6; $custom-light: #b4a1fa; $custom-dark: #000000;
JSON
{
"hex": "#8d7af6",
"rgb": {
"r": 141,
"g": 122,
"b": 246
},
"hsl": {
"h": 249.194,
"s": 87.324,
"l": 72.157
},
"oklch": {
"l": 0.65508,
"c": 0.17847,
"h": 287.5
},
"luminance": 0.26236
}Semantic roles & 50–950 ramp
primary
#8D7AF6
secondary
#F0F5D6
accent
#E402C1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85