#8D7DEB#8D7DEB
#8D7DEB is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.4% C 0.160 H 287.8°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7DEB |
|---|---|
| RGB | rgb(141, 125, 235) |
| HSL | hsl(249, 73%, 71%) |
| HSV | hsv(249, 47%, 92%) |
| CMYK | cmyk(40%, 46.8%, 0%, 7.8%) |
| CIE-LAB | lab(58.35, 32.06, -53.71) |
| CIE-LCH | lch(58.35, 62.55, 300.83°) |
| OKLab | oklab(65.37% 0.0489 -0.1519) |
| OKLCH | oklch(65.37% 0.16 287.8) |
| XYZ | xyz(33.3093, 26.3270, 81.9077) |
| Luminance | 0.2633 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.03
Lavender Blue
#8B88F8
ΔE00 3.94
Perrywinkle
#8F8CE7
ΔE00 4.70
Mediumpurple
#9370DB
ΔE00 5.09
Cornflower
#6A79F7
ΔE00 6.61
Mediumslateblue
#7B68EE
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7DEB #DBEB7D
analogous
#7DA4EB #8D7DEB #C47DEB
triadic
#8D7DEB #EB8D7D #7DEB8D
tetradic
#8D7DEB #EB7DA4 #DBEB7D #7DEBC4
square
#8D7DEB #EB7DA4 #DBEB7D #7DEBC4
split-complementary
#8D7DEB #EBC47D #A4EB7D
monochromatic
#3920CE #5E48E3 #8D7DEB #BCB2F3 #E8E4FB
Accessibility & contrast
On white
3.35
#8D7DEB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#8D7DEB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7DEB
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7DEB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7DEB | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#538FEF
Deuteranopia (green-blind)
#5289E8
Tritanopia (blue-blind)
#7393A9
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #8d7deb; /* rgb */ color: rgb(141, 125, 235); /* oklch */ color: oklch(65.4% 0.160 287.8);
Tailwind
colors: {
custom: {
50: '#b2a3f2',
500: '#8d7deb',
950: '#000000',
},
}SCSS
$custom: #8d7deb; $custom-light: #b2a3f2; $custom-dark: #000000;
JSON
{
"hex": "#8d7deb",
"rgb": {
"r": 141,
"g": 125,
"b": 235
},
"hsl": {
"h": 248.727,
"s": 73.333,
"l": 70.588
},
"oklch": {
"l": 0.65374,
"c": 0.15961,
"h": 287.8
},
"luminance": 0.26328
}Semantic roles & 50–950 ramp
primary
#8D7DEB
secondary
#ECF1D3
accent
#D510B9
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F17
muted
#807F85