#8B7DFD#8B7DFD
#8B7DFD is a light, vivid blue. Relative luminance 0.272; OKLCH L 66.3% C 0.184 H 285.2°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7DFD |
|---|---|
| RGB | rgb(139, 125, 253) |
| HSL | hsl(247, 97%, 74%) |
| HSV | hsv(247, 51%, 99%) |
| CMYK | cmyk(45.1%, 50.6%, 0%, 0.8%) |
| CIE-LAB | lab(59.20, 36.63, -62.31) |
| CIE-LCH | lch(59.20, 72.28, 300.45°) |
| OKLab | oklab(66.31% 0.0482 -0.1772) |
| OKLCH | oklch(66.31% 0.184 285.2) |
| XYZ | xyz(35.7055, 27.2465, 96.2872) |
| Luminance | 0.2725 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.44
Lavender Blue
#8B88F8
ΔE00 3.37
Perrywinkle
#8F8CE7
ΔE00 5.68
Cornflower
#6A79F7
ΔE00 5.69
Mediumslateblue
#7B68EE
ΔE00 6.77
Mediumpurple
#9370DB
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7DFD #EFFD7D
analogous
#7DAFFD #8B7DFD #CB7DFD
triadic
#8B7DFD #FD8B7D #7DFD8B
tetradic
#8B7DFD #FD7DAF #EFFD7D #7DFDCB
square
#8B7DFD #FD7DAF #EFFD7D #7DFDCB
split-complementary
#8B7DFD #FDCB7D #AFFD7D
monochromatic
#1F04FB #5541FC #8B7DFD #C1B9FE #E4E1FF
Accessibility & contrast
On white
3.26
#8B7DFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.45
#8B7DFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7DFD
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7DFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7DFD | 1.00 | 3.26 | 6.45 | 6.45 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4292FF
Deuteranopia (green-blind)
#3D8BFA
Tritanopia (blue-blind)
#6698B1
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #8b7dfd; /* rgb */ color: rgb(139, 125, 253); /* oklch */ color: oklch(66.3% 0.184 285.2);
Tailwind
colors: {
custom: {
50: '#b3a3ff',
500: '#8b7dfd',
950: '#000000',
},
}SCSS
$custom: #8b7dfd; $custom-light: #b3a3ff; $custom-dark: #000000;
JSON
{
"hex": "#8b7dfd",
"rgb": {
"r": 139,
"g": 125,
"b": 253
},
"hsl": {
"h": 246.563,
"s": 96.97,
"l": 74.118
},
"oklch": {
"l": 0.66305,
"c": 0.18367,
"h": 285.2
},
"luminance": 0.27248
}Semantic roles & 50–950 ramp
primary
#8B7DFD
secondary
#F3F7D4
accent
#E600CC
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86