#8B7FF6#8B7FF6
#8B7FF6 is a light, vivid blue. Relative luminance 0.273; OKLCH L 66.2% C 0.172 H 285.3°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7FF6 |
|---|---|
| RGB | rgb(139, 127, 246) |
| HSL | hsl(246, 87%, 73%) |
| HSV | hsv(246, 48%, 96%) |
| CMYK | cmyk(43.5%, 48.4%, 0%, 3.5%) |
| CIE-LAB | lab(59.27, 33.49, -58.34) |
| CIE-LCH | lch(59.27, 67.27, 299.86°) |
| OKLab | oklab(66.23% 0.0453 -0.1656) |
| OKLCH | oklch(66.23% 0.172 285.3) |
| XYZ | xyz(34.8666, 27.3201, 90.6071) |
| Luminance | 0.2732 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.37
Lavender Blue
#8B88F8
ΔE00 2.73
Perrywinkle
#8F8CE7
ΔE00 4.68
Cornflower
#6A79F7
ΔE00 5.76
Mediumpurple
#9370DB
ΔE00 6.67
Mediumslateblue
#7B68EE
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7FF6 #EAF67F
analogous
#7FAFF6 #8B7FF6 #C67FF6
triadic
#8B7FF6 #F68B7F #7FF68B
tetradic
#8B7FF6 #F67FAF #EAF67F #7FF6C6
square
#8B7FF6 #F67FAF #EAF67F #7FF6C6
split-complementary
#8B7FF6 #F6C67F #AFF67F
monochromatic
#2610EA #5746F2 #8B7FF6 #BFB8FA #E5E2FD
Accessibility & contrast
On white
3.25
#8B7FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#8B7FF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7FF6
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7FF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7FF6 | 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)
#4D92FA
Deuteranopia (green-blind)
#498BF3
Tritanopia (blue-blind)
#6A98AF
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #8b7ff6; /* rgb */ color: rgb(139, 127, 246); /* oklch */ color: oklch(66.2% 0.172 285.3);
Tailwind
colors: {
custom: {
50: '#b2a4fa',
500: '#8b7ff6',
950: '#000000',
},
}SCSS
$custom: #8b7ff6; $custom-light: #b2a4fa; $custom-dark: #000000;
JSON
{
"hex": "#8b7ff6",
"rgb": {
"r": 139,
"g": 127,
"b": 246
},
"hsl": {
"h": 246.05,
"s": 86.861,
"l": 73.137
},
"oklch": {
"l": 0.66226,
"c": 0.17165,
"h": 285.3
},
"luminance": 0.27322
}Semantic roles & 50–950 ramp
primary
#8B7FF6
secondary
#F2F5D6
accent
#E302CD
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85