#8D7BEC#8D7BEC
#8D7BEC is a light, vivid blue. Relative luminance 0.259; OKLCH L 65.1% C 0.164 H 288.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7BEC |
|---|---|
| RGB | rgb(141, 123, 236) |
| HSL | hsl(250, 75%, 70%) |
| HSV | hsv(250, 48%, 93%) |
| CMYK | cmyk(40.3%, 47.9%, 0%, 7.5%) |
| CIE-LAB | lab(57.93, 33.49, -54.94) |
| CIE-LCH | lch(57.93, 64.34, 301.37°) |
| OKLab | oklab(65.08% 0.0514 -0.1555) |
| OKLCH | oklch(65.08% 0.164 288.3) |
| XYZ | xyz(33.2036, 25.8837, 82.5872) |
| Luminance | 0.2589 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.23
Lavender Blue
#8B88F8
ΔE00 4.41
Mediumpurple
#9370DB
ΔE00 4.69
Perrywinkle
#8F8CE7
ΔE00 5.32
Mediumslateblue
#7B68EE
ΔE00 6.20
Cornflower
#6A79F7
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7BEC #DAEC7B
analogous
#7BA1EC #8D7BEC #C67BEC
triadic
#8D7BEC #EC8D7B #7BEC8D
tetradic
#8D7BEC #EC7BA1 #DAEC7B #7BECC6
square
#8D7BEC #EC7BA1 #DAEC7B #7BECC6
split-complementary
#8D7BEC #ECC67B #A1EC7B
monochromatic
#3A1ECF #5F46E4 #8D7BEC #BBB0F4 #E8E4FB
Accessibility & contrast
On white
3.40
#8D7BEC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.18
#8D7BEC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7BEC
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7BEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7BEC | 1.00 | 3.40 | 6.18 | 6.18 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F8EF0
Deuteranopia (green-blind)
#4E88E9
Tritanopia (blue-blind)
#7292A8
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #8d7bec; /* rgb */ color: rgb(141, 123, 236); /* oklch */ color: oklch(65.1% 0.164 288.3);
Tailwind
colors: {
custom: {
50: '#b3a1f3',
500: '#8d7bec',
950: '#000000',
},
}SCSS
$custom: #8d7bec; $custom-light: #b3a1f3; $custom-dark: #000000;
JSON
{
"hex": "#8d7bec",
"rgb": {
"r": 141,
"g": 123,
"b": 236
},
"hsl": {
"h": 249.558,
"s": 74.834,
"l": 70.392
},
"oklch": {
"l": 0.65076,
"c": 0.16383,
"h": 288.3
},
"luminance": 0.25885
}Semantic roles & 50–950 ramp
primary
#8D7BEC
secondary
#ECF1D2
accent
#D70FB7
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F17
muted
#807E85