#8A7FBD#8A7FBD
#8A7FBD is a light, moderate violet. Relative luminance 0.243; OKLCH L 63.1% C 0.092 H 291.7°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7FBD |
|---|---|
| RGB | rgb(138, 127, 189) |
| HSL | hsl(251, 32%, 62%) |
| HSV | hsv(251, 33%, 74%) |
| CMYK | cmyk(27%, 32.8%, 0%, 25.9%) |
| CIE-LAB | lab(56.34, 17.89, -30.98) |
| CIE-LCH | lch(56.34, 35.77, 300.00°) |
| OKLab | oklab(63.06% 0.0341 -0.086) |
| OKLCH | oklch(63.06% 0.093 291.7) |
| XYZ | xyz(27.2537, 24.2557, 51.3802) |
| Luminance | 0.2426 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 7.10
Wisteria
#A87DC2
ΔE00 7.62
Perrywinkle
#8F8CE7
ΔE00 8.08
Mediumpurple
#9370DB
ΔE00 8.12
Heather
#A484AC
ΔE00 9.77
Soft Purple
#A66FB5
ΔE00 9.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7FBD #B2BD7F
analogous
#7F93BD #8A7FBD #A97FBD
triadic
#8A7FBD #BD8A7F #7FBD8A
tetradic
#8A7FBD #BD7F93 #B2BD7F #7FBDA9
square
#8A7FBD #BD7F93 #B2BD7F #7FBDA9
split-complementary
#8A7FBD #BDA97F #93BD7F
monochromatic
#4D4280 #6557A8 #8A7FBD #AFA7D2 #D4D0E7
Accessibility & contrast
On white
3.59
#8A7FBD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#8A7FBD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7FBD
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7FBD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7FBD | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F88C0
Deuteranopia (green-blind)
#6F86BB
Tritanopia (blue-blind)
#7F8A95
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8a7fbd; /* rgb */ color: rgb(138, 127, 189); /* oklch */ color: oklch(63.1% 0.092 291.7);
Tailwind
colors: {
custom: {
50: '#ada4d1',
500: '#8a7fbd',
950: '#000000',
},
}SCSS
$custom: #8a7fbd; $custom-light: #ada4d1; $custom-dark: #000000;
JSON
{
"hex": "#8a7fbd",
"rgb": {
"r": 138,
"g": 127,
"b": 189
},
"hsl": {
"h": 250.645,
"s": 31.959,
"l": 61.961
},
"oklch": {
"l": 0.63056,
"c": 0.0925,
"h": 291.7
},
"luminance": 0.24256
}Semantic roles & 50–950 ramp
primary
#8A7FBD
secondary
#D3D7C0
accent
#AB3B97
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#100F14
muted
#7F7F82