#9A7AB3#9A7AB3
#9A7AB3 is a light, moderate violet. Relative luminance 0.240; OKLCH L 63.1% C 0.091 H 309.6°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9A7AB3 |
|---|---|
| RGB | rgb(154, 122, 179) |
| HSL | hsl(274, 27%, 59%) |
| HSV | hsv(274, 32%, 70%) |
| CMYK | cmyk(14%, 31.8%, 0%, 29.8%) |
| CIE-LAB | lab(56.13, 23.44, -25.47) |
| CIE-LCH | lch(56.13, 34.61, 312.62°) |
| OKLab | oklab(63.11% 0.0578 -0.0699) |
| OKLCH | oklch(63.11% 0.091 309.6) |
| XYZ | xyz(28.4212, 24.0441, 45.7828) |
| Luminance | 0.2404 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.72
Soft Purple
#A66FB5
ΔE00 4.83
Dark Lilac
#9C6DA5
ΔE00 5.01
Deep Lilac
#966EBD
ΔE00 5.37
Heather
#A484AC
ΔE00 5.57
Faded Purple
#916E99
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A7AB3 #93B37A
analogous
#7E7AB3 #9A7AB3 #B37AB0
triadic
#9A7AB3 #B39A7A #7AB39A
tetradic
#9A7AB3 #B37E7A #93B37A #7AB0B3
square
#9A7AB3 #B37E7A #93B37A #7AB0B3
split-complementary
#9A7AB3 #B0B37A #7AB37E
monochromatic
#5C4172 #7C5799 #9A7AB3 #B8A1C9 #D5C8E0
Accessibility & contrast
On white
3.62
#9A7AB3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#9A7AB3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A7AB3
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A7AB3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A7AB3 | 1.00 | 3.62 | 5.81 | 5.81 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7085B5
Deuteranopia (green-blind)
#7787B1
Tritanopia (blue-blind)
#97828F
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9a7ab3; /* rgb */ color: rgb(154, 122, 179); /* oklch */ color: oklch(63.1% 0.091 309.6);
Tailwind
colors: {
custom: {
50: '#b8a0ca',
500: '#9a7ab3',
950: '#000000',
},
}SCSS
$custom: #9a7ab3; $custom-light: #b8a0ca; $custom-dark: #000000;
JSON
{
"hex": "#9a7ab3",
"rgb": {
"r": 154,
"g": 122,
"b": 179
},
"hsl": {
"h": 273.684,
"s": 27.273,
"l": 59.02
},
"oklch": {
"l": 0.63106,
"c": 0.09072,
"h": 309.6
},
"luminance": 0.24044
}Semantic roles & 50–950 ramp
primary
#9A7AB3
secondary
#C3D0B9
accent
#C4648E
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110F13
muted
#807E82