#9547AF#9547AF
#9547AF is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.0% C 0.171 H 316.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #9547AF |
|---|---|
| RGB | rgb(149, 71, 175) |
| HSL | hsl(285, 42%, 48%) |
| HSV | hsv(285, 59%, 69%) |
| CMYK | cmyk(14.9%, 59.4%, 0%, 31.4%) |
| CIE-LAB | lab(44.22, 49.20, -41.84) |
| CIE-LCH | lch(44.22, 64.58, 319.62°) |
| OKLab | oklab(54.01% 0.1248 -0.1169) |
| OKLCH | oklch(54.01% 0.171 316.9) |
| XYZ | xyz(22.3844, 13.9920, 42.0707) |
| Luminance | 0.1399 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.69
Medium Purple
#9E43A2
ΔE00 3.61
Ugly Purple
#A442A0
ΔE00 4.92
Darkorchid
#9932CC
ΔE00 5.73
Barney
#AC1DB8
ΔE00 6.03
Deep Lavender
#8D5EB7
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9547AF #61AF47
analogous
#6147AF #9547AF #AF4795
triadic
#9547AF #AF9547 #47AF95
tetradic
#9547AF #AF6147 #61AF47 #4795AF
square
#9547AF #AF6147 #61AF47 #4795AF
split-complementary
#9547AF #95AF47 #47AF61
monochromatic
#4B2458 #703583 #9547AF #AF6FC4 #C79AD6
Accessibility & contrast
On white
5.53
#9547AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#9547AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9547AF
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9547AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9547AF | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B64B2
Deuteranopia (green-blind)
#496BAC
Tritanopia (blue-blind)
#945874
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9547af; /* rgb */ color: rgb(149, 71, 175); /* oklch */ color: oklch(54.0% 0.171 316.9);
Tailwind
colors: {
custom: {
50: '#b77ec7',
500: '#9547af',
950: '#000000',
},
}SCSS
$custom: #9547af; $custom-light: #b77ec7; $custom-dark: #000000;
JSON
{
"hex": "#9547af",
"rgb": {
"r": 149,
"g": 71,
"b": 175
},
"hsl": {
"h": 285,
"s": 42.276,
"l": 48.235
},
"oklch": {
"l": 0.54011,
"c": 0.17103,
"h": 316.9
},
"luminance": 0.13991
}Semantic roles & 50–950 ramp
primary
#9547AF
secondary
#9CC28F
accent
#D25675
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82