#8B7FB3#8B7FB3
#8B7FB3 is a light, moderate violet. Relative luminance 0.239; OKLCH L 62.7% C 0.078 H 294.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7FB3 |
|---|---|
| RGB | rgb(139, 127, 179) |
| HSL | hsl(254, 25%, 60%) |
| HSV | hsv(254, 29%, 70%) |
| CMYK | cmyk(22.3%, 29.1%, 0%, 29.8%) |
| CIE-LAB | lab(56.01, 15.73, -25.77) |
| CIE-LCH | lch(56.01, 30.19, 301.39°) |
| OKLab | oklab(62.68% 0.0326 -0.0711) |
| OKLCH | oklch(62.68% 0.078 294.6) |
| XYZ | xyz(26.3716, 23.9221, 45.8671) |
| Luminance | 0.2392 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 7.50
Deep Lilac
#966EBD
ΔE00 7.63
Heather
#A484AC
ΔE00 7.93
Faded Purple
#916E99
ΔE00 8.82
Greyish Purple
#887191
ΔE00 8.86
Dark Lilac
#9C6DA5
ΔE00 9.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7FB3 #A7B37F
analogous
#7F8DB3 #8B7FB3 #A57FB3
triadic
#8B7FB3 #B38B7F #7FB38B
tetradic
#8B7FB3 #B37F8D #A7B37F #7FB3A5
square
#8B7FB3 #B37F8D #A7B37F #7FB3A5
split-complementary
#8B7FB3 #B3A57F #8DB37F
monochromatic
#4F4473 #6A5B9A #8B7FB3 #AEA5CA #D1CCE1
Accessibility & contrast
On white
3.63
#8B7FB3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#8B7FB3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7FB3
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7FB3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7FB3 | 1.00 | 3.63 | 5.78 | 5.78 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7387B5
Deuteranopia (green-blind)
#7485B2
Tritanopia (blue-blind)
#838791
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8b7fb3; /* rgb */ color: rgb(139, 127, 179); /* oklch */ color: oklch(62.7% 0.078 294.6);
Tailwind
colors: {
custom: {
50: '#ada4ca',
500: '#8b7fb3',
950: '#000000',
},
}SCSS
$custom: #8b7fb3; $custom-light: #ada4ca; $custom-dark: #000000;
JSON
{
"hex": "#8b7fb3",
"rgb": {
"r": 139,
"g": 127,
"b": 179
},
"hsl": {
"h": 253.846,
"s": 25.49,
"l": 60
},
"oklch": {
"l": 0.62683,
"c": 0.07817,
"h": 294.6
},
"luminance": 0.23922
}Semantic roles & 50–950 ramp
primary
#8B7FB3
secondary
#CCD1BD
accent
#C266AD
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#100F13
muted
#7F7F82