#8A7FB3#8A7FB3
#8A7FB3 is a light, moderate violet. Relative luminance 0.238; OKLCH L 62.6% C 0.078 H 293.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7FB3 |
|---|---|
| RGB | rgb(138, 127, 179) |
| HSL | hsl(253, 25%, 60%) |
| HSV | hsv(253, 29%, 70%) |
| CMYK | cmyk(22.9%, 29.1%, 0%, 29.8%) |
| CIE-LAB | lab(55.92, 15.41, -25.91) |
| CIE-LCH | lch(55.92, 30.15, 300.74°) |
| OKLab | oklab(62.6% 0.0314 -0.0715) |
| OKLCH | oklch(62.6% 0.078 293.7) |
| XYZ | xyz(26.2054, 23.8364, 45.8594) |
| Luminance | 0.2384 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 7.75
Deep Lilac
#966EBD
ΔE00 7.75
Heather
#A484AC
ΔE00 8.20
Greyish Purple
#887191
ΔE00 8.97
Faded Purple
#916E99
ΔE00 9.01
Dark Lilac
#9C6DA5
ΔE00 9.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7FB3 #A8B37F
analogous
#7F8EB3 #8A7FB3 #A47FB3
triadic
#8A7FB3 #B38A7F #7FB38A
tetradic
#8A7FB3 #B37F8E #A8B37F #7FB3A4
square
#8A7FB3 #B37F8E #A8B37F #7FB3A4
split-complementary
#8A7FB3 #B3A47F #8EB37F
monochromatic
#4E4473 #685B9A #8A7FB3 #ADA5CA #D0CCE1
Accessibility & contrast
On white
3.64
#8A7FB3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#8A7FB3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7FB3
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7FB3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7FB3 | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7287B5
Deuteranopia (green-blind)
#7485B2
Tritanopia (blue-blind)
#828791
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8a7fb3; /* rgb */ color: rgb(138, 127, 179); /* oklch */ color: oklch(62.6% 0.078 293.7);
Tailwind
colors: {
custom: {
50: '#ada4ca',
500: '#8a7fb3',
950: '#000000',
},
}SCSS
$custom: #8a7fb3; $custom-light: #ada4ca; $custom-dark: #000000;
JSON
{
"hex": "#8a7fb3",
"rgb": {
"r": 138,
"g": 127,
"b": 179
},
"hsl": {
"h": 252.692,
"s": 25.49,
"l": 60
},
"oklch": {
"l": 0.62596,
"c": 0.07807,
"h": 293.7
},
"luminance": 0.23837
}Semantic roles & 50–950 ramp
primary
#8A7FB3
secondary
#CDD1BD
accent
#C266AE
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#100F13
muted
#7F7F82