#8D7EF2#8D7EF2
#8D7EF2 is a light, vivid blue. Relative luminance 0.270; OKLCH L 66.0% C 0.168 H 286.8°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7EF2 |
|---|---|
| RGB | rgb(141, 126, 242) |
| HSL | hsl(248, 82%, 72%) |
| HSV | hsv(248, 48%, 95%) |
| CMYK | cmyk(41.7%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(58.97, 33.42, -56.60) |
| CIE-LCH | lch(58.97, 65.73, 300.56°) |
| OKLab | oklab(65.97% 0.0484 -0.1604) |
| OKLCH | oklch(65.97% 0.168 286.8) |
| XYZ | xyz(34.4678, 26.9940, 87.3815) |
| Luminance | 0.2700 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.00
Lavender Blue
#8B88F8
ΔE00 3.27
Perrywinkle
#8F8CE7
ΔE00 4.70
Mediumpurple
#9370DB
ΔE00 5.90
Cornflower
#6A79F7
ΔE00 6.25
Mediumslateblue
#7B68EE
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7EF2 #E3F27E
analogous
#7EA9F2 #8D7EF2 #C77EF2
triadic
#8D7EF2 #F28D7E #7EF28D
tetradic
#8D7EF2 #F27EA9 #E3F27E #7EF2C7
square
#8D7EF2 #F27EA9 #E3F27E #7EF2C7
split-complementary
#8D7EF2 #F2C77E #A9F27E
monochromatic
#3016DF #5C46EC #8D7EF2 #BEB6F8 #E6E3FC
Accessibility & contrast
On white
3.28
#8D7EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.40
#8D7EF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7EF2
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7EF2 | 1.00 | 3.28 | 6.40 | 6.40 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F91F6
Deuteranopia (green-blind)
#4D8BEF
Tritanopia (blue-blind)
#6F96AD
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #8d7ef2; /* rgb */ color: rgb(141, 126, 242); /* oklch */ color: oklch(66.0% 0.168 286.8);
Tailwind
colors: {
custom: {
50: '#b3a3f7',
500: '#8d7ef2',
950: '#000000',
},
}SCSS
$custom: #8d7ef2; $custom-light: #b3a3f7; $custom-dark: #000000;
JSON
{
"hex": "#8d7ef2",
"rgb": {
"r": 141,
"g": 126,
"b": 242
},
"hsl": {
"h": 247.759,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.65967,
"c": 0.16756,
"h": 286.8
},
"luminance": 0.26995
}Semantic roles & 50–950 ramp
primary
#8D7EF2
secondary
#F0F4D7
accent
#DE07C2
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85