#9A489B#9A489B
#9A489B is a mid, vivid purple. Relative luminance 0.139; OKLCH L 53.7% C 0.152 H 327.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #9A489B |
|---|---|
| RGB | rgb(154, 72, 155) |
| HSL | hsl(299, 37%, 45%) |
| HSV | hsv(299, 54%, 61%) |
| CMYK | cmyk(0.6%, 53.5%, 0%, 39.2%) |
| CIE-LAB | lab(44.05, 46.10, -30.19) |
| CIE-LCH | lch(44.05, 55.11, 326.78°) |
| OKLab | oklab(53.69% 0.1278 -0.083) |
| OKLCH | oklch(53.69% 0.152 327) |
| XYZ | xyz(21.5598, 13.8725, 32.5461) |
| Luminance | 0.1387 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 1.78
Ugly Purple
#A442A0
ΔE00 2.10
Light Eggplant
#894585
ΔE00 4.89
Purply
#983FB2
ΔE00 5.33
Purpleish
#98568D
ΔE00 5.59
Purplish
#94568C
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A489B #499B48
analogous
#71489B #9A489B #9B4873
triadic
#9A489B #9B9A48 #489B9A
tetradic
#9A489B #9B7148 #499B48 #48739B
square
#9A489B #9B7148 #499B48 #48739B
split-complementary
#9A489B #739B48 #489B71
monochromatic
#472147 #703571 #9A489B #B868B9 #CB91CC
Accessibility & contrast
On white
5.56
#9A489B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#9A489B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A489B
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A489B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A489B | 1.00 | 5.56 | 3.77 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F619E
Deuteranopia (green-blind)
#596C99
Tritanopia (blue-blind)
#9E526B
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #9a489b; /* rgb */ color: rgb(154, 72, 155); /* oklch */ color: oklch(53.7% 0.152 327.0);
Tailwind
colors: {
custom: {
50: '#ba7fb9',
500: '#9a489b',
950: '#000000',
},
}SCSS
$custom: #9a489b; $custom-light: #ba7fb9; $custom-dark: #000000;
JSON
{
"hex": "#9a489b",
"rgb": {
"r": 154,
"g": 72,
"b": 155
},
"hsl": {
"h": 299.277,
"s": 36.564,
"l": 44.51
},
"oklch": {
"l": 0.53689,
"c": 0.15241,
"h": 327
},
"luminance": 0.13871
}Semantic roles & 50–950 ramp
primary
#9A489B
secondary
#88B887
accent
#CD5B5D
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#120A11
muted
#817C80