#8D7DF8#8D7DF8
#8D7DF8 is a light, vivid blue. Relative luminance 0.271; OKLCH L 66.2% C 0.177 H 286.5°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7DF8 |
|---|---|
| RGB | rgb(141, 125, 248) |
| HSL | hsl(248, 90%, 73%) |
| HSV | hsv(248, 50%, 97%) |
| CMYK | cmyk(43.1%, 49.6%, 0%, 2.7%) |
| CIE-LAB | lab(59.07, 35.67, -59.75) |
| CIE-LCH | lch(59.07, 69.59, 300.83°) |
| OKLab | oklab(66.15% 0.0501 -0.1697) |
| OKLCH | oklch(66.15% 0.177 286.5) |
| XYZ | xyz(35.2565, 27.1059, 92.1630) |
| Luminance | 0.2711 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.64
Lavender Blue
#8B88F8
ΔE00 3.43
Perrywinkle
#8F8CE7
ΔE00 5.33
Cornflower
#6A79F7
ΔE00 6.09
Mediumpurple
#9370DB
ΔE00 6.25
Mediumslateblue
#7B68EE
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7DF8 #E8F87D
analogous
#7DAAF8 #8D7DF8 #CA7DF8
triadic
#8D7DF8 #F88D7D #7DF88D
tetradic
#8D7DF8 #F87DAA #E8F87D #7DF8CA
square
#8D7DF8 #F87DAA #E8F87D #7DF8CA
split-complementary
#8D7DF8 #F8CA7D #AAF87D
monochromatic
#2A0DEE #5A43F5 #8D7DF8 #C0B7FB #E6E2FD
Accessibility & contrast
On white
3.27
#8D7DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#8D7DF8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7DF8
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7DF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7DF8 | 1.00 | 3.27 | 6.42 | 6.42 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4891FC
Deuteranopia (green-blind)
#458BF5
Tritanopia (blue-blind)
#6C97AF
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #8d7df8; /* rgb */ color: rgb(141, 125, 248); /* oklch */ color: oklch(66.2% 0.177 286.5);
Tailwind
colors: {
custom: {
50: '#b4a3fb',
500: '#8d7df8',
950: '#000000',
},
}SCSS
$custom: #8d7df8; $custom-light: #b4a3fb; $custom-dark: #000000;
JSON
{
"hex": "#8d7df8",
"rgb": {
"r": 141,
"g": 125,
"b": 248
},
"hsl": {
"h": 247.805,
"s": 89.781,
"l": 73.137
},
"oklch": {
"l": 0.66154,
"c": 0.17692,
"h": 286.5
},
"luminance": 0.27107
}Semantic roles & 50–950 ramp
primary
#8D7DF8
secondary
#F1F6D5
accent
#E600C8
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85