#8D7DF7#8D7DF7
#8D7DF7 is a light, vivid blue. Relative luminance 0.270; OKLCH L 66.1% C 0.176 H 286.6°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7DF7 |
|---|---|
| RGB | rgb(141, 125, 247) |
| HSL | hsl(248, 88%, 73%) |
| HSV | hsv(248, 49%, 97%) |
| CMYK | cmyk(42.9%, 49.4%, 0%, 3.1%) |
| CIE-LAB | lab(59.02, 35.39, -59.29) |
| CIE-LCH | lch(59.02, 69.05, 300.83°) |
| OKLab | oklab(66.09% 0.0501 -0.1683) |
| OKLCH | oklch(66.09% 0.176 286.6) |
| XYZ | xyz(35.1018, 27.0440, 91.3482) |
| Luminance | 0.2705 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.71
Lavender Blue
#8B88F8
ΔE00 3.43
Perrywinkle
#8F8CE7
ΔE00 5.27
Cornflower
#6A79F7
ΔE00 6.10
Mediumpurple
#9370DB
ΔE00 6.15
Mediumslateblue
#7B68EE
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7DF7 #E7F77D
analogous
#7DAAF7 #8D7DF7 #CA7DF7
triadic
#8D7DF7 #F78D7D #7DF78D
tetradic
#8D7DF7 #F77DAA #E7F77D #7DF7CA
square
#8D7DF7 #F77DAA #E7F77D #7DF7CA
split-complementary
#8D7DF7 #F7CA7D #AAF77D
monochromatic
#2B0EEB #5A43F3 #8D7DF7 #C0B7FB #E6E2FD
Accessibility & contrast
On white
3.28
#8D7DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.41
#8D7DF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7DF7
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7DF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7DF7 | 1.00 | 3.28 | 6.41 | 6.41 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4991FB
Deuteranopia (green-blind)
#478BF4
Tritanopia (blue-blind)
#6D97AE
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #8d7df7; /* rgb */ color: rgb(141, 125, 247); /* oklch */ color: oklch(66.1% 0.176 286.6);
Tailwind
colors: {
custom: {
50: '#b4a3fa',
500: '#8d7df7',
950: '#000000',
},
}SCSS
$custom: #8d7df7; $custom-light: #b4a3fa; $custom-dark: #000000;
JSON
{
"hex": "#8d7df7",
"rgb": {
"r": 141,
"g": 125,
"b": 247
},
"hsl": {
"h": 247.869,
"s": 88.406,
"l": 72.941
},
"oklch": {
"l": 0.66093,
"c": 0.1756,
"h": 286.6
},
"luminance": 0.27045
}Semantic roles & 50–950 ramp
primary
#8D7DF7
secondary
#F1F5D6
accent
#E500C7
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85