#8D7EF7#8D7EF7
#8D7EF7 is a light, vivid blue. Relative luminance 0.273; OKLCH L 66.3% C 0.174 H 286.3°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7EF7 |
|---|---|
| RGB | rgb(141, 126, 247) |
| HSL | hsl(247, 88%, 73%) |
| HSV | hsv(247, 49%, 97%) |
| CMYK | cmyk(42.9%, 49%, 0%, 3.1%) |
| CIE-LAB | lab(59.25, 34.81, -58.92) |
| CIE-LCH | lch(59.25, 68.43, 300.58°) |
| OKLab | oklab(66.27% 0.0489 -0.1672) |
| OKLCH | oklch(66.27% 0.174 286.3) |
| XYZ | xyz(35.2291, 27.2984, 91.3906) |
| Luminance | 0.2730 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.47
Lavender Blue
#8B88F8
ΔE00 3.14
Perrywinkle
#8F8CE7
ΔE00 5.01
Cornflower
#6A79F7
ΔE00 6.10
Mediumpurple
#9370DB
ΔE00 6.35
Mediumslateblue
#7B68EE
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7EF7 #E8F77E
analogous
#7EABF7 #8D7EF7 #C97EF7
triadic
#8D7EF7 #F78D7E #7EF78D
tetradic
#8D7EF7 #F77EAB #E8F77E #7EF7C9
square
#8D7EF7 #F77EAB #E8F77E #7EF7C9
split-complementary
#8D7EF7 #F7C97E #ABF77E
monochromatic
#2A0FEC #5A44F3 #8D7EF7 #C0B8FB #E6E2FD
Accessibility & contrast
On white
3.25
#8D7EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#8D7EF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7EF7
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7EF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7EF7 | 1.00 | 3.25 | 6.46 | 6.46 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B92FB
Deuteranopia (green-blind)
#488BF4
Tritanopia (blue-blind)
#6D97AF
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #8d7ef7; /* rgb */ color: rgb(141, 126, 247); /* oklch */ color: oklch(66.3% 0.174 286.3);
Tailwind
colors: {
custom: {
50: '#b4a3fa',
500: '#8d7ef7',
950: '#000000',
},
}SCSS
$custom: #8d7ef7; $custom-light: #b4a3fa; $custom-dark: #000000;
JSON
{
"hex": "#8d7ef7",
"rgb": {
"r": 141,
"g": 126,
"b": 247
},
"hsl": {
"h": 247.438,
"s": 88.321,
"l": 73.137
},
"oklch": {
"l": 0.66269,
"c": 0.17421,
"h": 286.3
},
"luminance": 0.273
}Semantic roles & 50–950 ramp
primary
#8D7EF7
secondary
#F1F5D6
accent
#E501C9
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85