#9546AF#9546AF
#9546AF is a mid, vivid purple. Relative luminance 0.139; OKLCH L 53.9% C 0.173 H 317.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #9546AF |
|---|---|
| RGB | rgb(149, 70, 175) |
| HSL | hsl(285, 43%, 48%) |
| HSV | hsv(285, 60%, 69%) |
| CMYK | cmyk(14.9%, 60%, 0%, 31.4%) |
| CIE-LAB | lab(44.04, 49.69, -42.13) |
| CIE-LCH | lch(44.04, 65.14, 319.71°) |
| OKLab | oklab(53.88% 0.1261 -0.1178) |
| OKLCH | oklch(53.88% 0.173 317) |
| XYZ | xyz(22.3213, 13.8659, 42.0497) |
| Luminance | 0.1386 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.48
Medium Purple
#9E43A2
ΔE00 3.61
Ugly Purple
#A442A0
ΔE00 4.93
Darkorchid
#9932CC
ΔE00 5.59
Barney
#AC1DB8
ΔE00 5.86
Royal Purple
#7851A9
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9546AF #60AF46
analogous
#6046AF #9546AF #AF4694
triadic
#9546AF #AF9546 #46AF95
tetradic
#9546AF #AF6046 #60AF46 #4694AF
square
#9546AF #AF6046 #60AF46 #4694AF
split-complementary
#9546AF #94AF46 #46AF60
monochromatic
#4B2358 #703583 #9546AF #AF6DC5 #C799D6
Accessibility & contrast
On white
5.57
#9546AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#9546AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9546AF
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9546AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9546AF | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2963B2
Deuteranopia (green-blind)
#486BAC
Tritanopia (blue-blind)
#945874
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #9546af; /* rgb */ color: rgb(149, 70, 175); /* oklch */ color: oklch(53.9% 0.173 317.0);
Tailwind
colors: {
custom: {
50: '#b77ec7',
500: '#9546af',
950: '#000000',
},
}SCSS
$custom: #9546af; $custom-light: #b77ec7; $custom-dark: #000000;
JSON
{
"hex": "#9546af",
"rgb": {
"r": 149,
"g": 70,
"b": 175
},
"hsl": {
"h": 285.143,
"s": 42.857,
"l": 48.039
},
"oklch": {
"l": 0.53879,
"c": 0.17254,
"h": 317
},
"luminance": 0.13865
}Semantic roles & 50–950 ramp
primary
#9546AF
secondary
#9BC28E
accent
#D35574
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82