#8D7DEC#8D7DEC
#8D7DEC is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.4% C 0.161 H 287.7°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7DEC |
|---|---|
| RGB | rgb(141, 125, 236) |
| HSL | hsl(249, 74%, 71%) |
| HSV | hsv(249, 47%, 93%) |
| CMYK | cmyk(40.3%, 47%, 0%, 7.5%) |
| CIE-LAB | lab(58.40, 32.33, -54.18) |
| CIE-LCH | lch(58.40, 63.10, 300.83°) |
| OKLab | oklab(65.43% 0.049 -0.1533) |
| OKLCH | oklch(65.43% 0.161 287.7) |
| XYZ | xyz(33.4542, 26.3849, 82.6708) |
| Luminance | 0.2639 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.90
Lavender Blue
#8B88F8
ΔE00 3.87
Perrywinkle
#8F8CE7
ΔE00 4.73
Mediumpurple
#9370DB
ΔE00 5.16
Cornflower
#6A79F7
ΔE00 6.55
Mediumslateblue
#7B68EE
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7DEC #DCEC7D
analogous
#7DA4EC #8D7DEC #C57DEC
triadic
#8D7DEC #EC8D7D #7DEC8D
tetradic
#8D7DEC #EC7DA4 #DCEC7D #7DECC5
square
#8D7DEC #EC7DA4 #DCEC7D #7DECC5
split-complementary
#8D7DEC #ECC57D #A4EC7D
monochromatic
#381ED0 #5E48E4 #8D7DEC #BCB2F4 #E8E4FB
Accessibility & contrast
On white
3.35
#8D7DEC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.28
#8D7DEC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7DEC
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7DEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7DEC | 1.00 | 3.35 | 6.28 | 6.28 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#528FF0
Deuteranopia (green-blind)
#518AE9
Tritanopia (blue-blind)
#7293A9
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #8d7dec; /* rgb */ color: rgb(141, 125, 236); /* oklch */ color: oklch(65.4% 0.161 287.7);
Tailwind
colors: {
custom: {
50: '#b3a3f3',
500: '#8d7dec',
950: '#000000',
},
}SCSS
$custom: #8d7dec; $custom-light: #b3a3f3; $custom-dark: #000000;
JSON
{
"hex": "#8d7dec",
"rgb": {
"r": 141,
"g": 125,
"b": 236
},
"hsl": {
"h": 248.649,
"s": 74.497,
"l": 70.784
},
"oklch": {
"l": 0.65433,
"c": 0.16096,
"h": 287.7
},
"luminance": 0.26386
}Semantic roles & 50–950 ramp
primary
#8D7DEC
secondary
#EDF1D3
accent
#D70FBA
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F17
muted
#807F85