#9A49AF#9A49AF
#9A49AF is a mid, vivid purple. Relative luminance 0.147; OKLCH L 54.9% C 0.170 H 318.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #9A49AF |
|---|---|
| RGB | rgb(154, 73, 175) |
| HSL | hsl(288, 41%, 49%) |
| HSV | hsv(288, 58%, 69%) |
| CMYK | cmyk(12%, 58.3%, 0%, 31.4%) |
| CIE-LAB | lab(45.26, 49.51, -40.14) |
| CIE-LCH | lch(45.26, 63.74, 320.96°) |
| OKLab | oklab(54.91% 0.1284 -0.1118) |
| OKLCH | oklch(54.91% 0.17 318.9) |
| XYZ | xyz(23.4458, 14.7312, 42.1575) |
| Luminance | 0.1473 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.42
Medium Purple
#9E43A2
ΔE00 3.03
Ugly Purple
#A442A0
ΔE00 4.14
Barney
#AC1DB8
ΔE00 6.10
Deep Lavender
#8D5EB7
ΔE00 6.19
Amethyst
#9B5FC0
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A49AF #5EAF49
analogous
#6749AF #9A49AF #AF4991
triadic
#9A49AF #AF9A49 #49AF9A
tetradic
#9A49AF #AF6749 #5EAF49 #4991AF
square
#9A49AF #AF6749 #5EAF49 #4991AF
split-complementary
#9A49AF #91AF49 #49AF67
monochromatic
#4E2559 #743784 #9A49AF #B371C4 #CA9CD6
Accessibility & contrast
On white
5.32
#9A49AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#9A49AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A49AF
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A49AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A49AF | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3266B2
Deuteranopia (green-blind)
#4F6EAC
Tritanopia (blue-blind)
#9A5975
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9a49af; /* rgb */ color: rgb(154, 73, 175); /* oklch */ color: oklch(54.9% 0.170 318.9);
Tailwind
colors: {
custom: {
50: '#ba80c7',
500: '#9a49af',
950: '#000000',
},
}SCSS
$custom: #9a49af; $custom-light: #ba80c7; $custom-dark: #000000;
JSON
{
"hex": "#9a49af",
"rgb": {
"r": 154,
"g": 73,
"b": 175
},
"hsl": {
"h": 287.647,
"s": 41.129,
"l": 48.627
},
"oklch": {
"l": 0.54914,
"c": 0.17028,
"h": 318.9
},
"luminance": 0.1473
}Semantic roles & 50–950 ramp
primary
#9A49AF
secondary
#9BC291
accent
#D15770
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120A13
muted
#817C82