#8B7CF5#8B7CF5
#8B7CF5 is a light, vivid blue. Relative luminance 0.265; OKLCH L 65.6% C 0.174 H 286.2°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7CF5 |
|---|---|
| RGB | rgb(139, 124, 245) |
| HSL | hsl(247, 86%, 72%) |
| HSV | hsv(247, 49%, 96%) |
| CMYK | cmyk(43.3%, 49.4%, 0%, 3.9%) |
| CIE-LAB | lab(58.50, 34.95, -59.01) |
| CIE-LCH | lch(58.50, 68.59, 300.63°) |
| OKLab | oklab(65.63% 0.0487 -0.1676) |
| OKLCH | oklch(65.63% 0.175 286.2) |
| XYZ | xyz(34.3318, 26.4955, 89.6737) |
| Luminance | 0.2650 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.08
Lavender Blue
#8B88F8
ΔE00 3.64
Perrywinkle
#8F8CE7
ΔE00 5.39
Cornflower
#6A79F7
ΔE00 5.78
Mediumpurple
#9370DB
ΔE00 5.95
Mediumslateblue
#7B68EE
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7CF5 #E6F57C
analogous
#7CAAF5 #8B7CF5 #C87CF5
triadic
#8B7CF5 #F58B7C #7CF58B
tetradic
#8B7CF5 #F57CAA #E6F57C #7CF5C8
square
#8B7CF5 #F57CAA #E6F57C #7CF5C8
split-complementary
#8B7CF5 #F5C87C #AAF57C
monochromatic
#2C11E5 #5943F1 #8B7CF5 #BDB5F9 #E6E3FD
Accessibility & contrast
On white
3.33
#8B7CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.30
#8B7CF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7CF5
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7CF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7CF5 | 1.00 | 3.33 | 6.30 | 6.30 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4890F9
Deuteranopia (green-blind)
#4589F2
Tritanopia (blue-blind)
#6A95AD
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #8b7cf5; /* rgb */ color: rgb(139, 124, 245); /* oklch */ color: oklch(65.6% 0.174 286.2);
Tailwind
colors: {
custom: {
50: '#b2a2f9',
500: '#8b7cf5',
950: '#000000',
},
}SCSS
$custom: #8b7cf5; $custom-light: #b2a2f9; $custom-dark: #000000;
JSON
{
"hex": "#8b7cf5",
"rgb": {
"r": 139,
"g": 124,
"b": 245
},
"hsl": {
"h": 247.438,
"s": 85.816,
"l": 72.353
},
"oklch": {
"l": 0.65633,
"c": 0.1745,
"h": 286.2
},
"luminance": 0.26497
}Semantic roles & 50–950 ramp
primary
#8B7CF5
secondary
#F1F5D6
accent
#E203C7
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85