#9D46AE#9D46AE
#9D46AE is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.9% C 0.175 H 320.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #9D46AE |
|---|---|
| RGB | rgb(157, 70, 174) |
| HSL | hsl(290, 43%, 48%) |
| HSV | hsv(290, 60%, 68%) |
| CMYK | cmyk(9.8%, 59.8%, 0%, 31.8%) |
| CIE-LAB | lab(45.09, 51.54, -39.80) |
| CIE-LCH | lch(45.09, 65.12, 322.32°) |
| OKLab | oklab(54.86% 0.1359 -0.1108) |
| OKLCH | oklch(54.86% 0.175 320.8) |
| XYZ | xyz(23.7339, 14.6055, 41.6052) |
| Luminance | 0.1460 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.32
Medium Purple
#9E43A2
ΔE00 2.43
Ugly Purple
#A442A0
ΔE00 3.49
Barney
#AC1DB8
ΔE00 5.46
Darkorchid
#9932CC
ΔE00 6.43
Amethyst
#9B5FC0
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D46AE #57AE46
analogous
#6946AE #9D46AE #AE468B
triadic
#9D46AE #AE9D46 #46AE9D
tetradic
#9D46AE #AE6946 #57AE46 #468BAE
square
#9D46AE #AE6946 #57AE46 #468BAE
split-complementary
#9D46AE #8BAE46 #46AE69
monochromatic
#4E2357 #763482 #9D46AE #B66DC4 #CC99D6
Accessibility & contrast
On white
5.36
#9D46AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#9D46AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D46AE
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D46AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D46AE | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3064B1
Deuteranopia (green-blind)
#506EAB
Tritanopia (blue-blind)
#9E5673
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9d46ae; /* rgb */ color: rgb(157, 70, 174); /* oklch */ color: oklch(54.9% 0.175 320.8);
Tailwind
colors: {
custom: {
50: '#bd7ec6',
500: '#9d46ae',
950: '#000000',
},
}SCSS
$custom: #9d46ae; $custom-light: #bd7ec6; $custom-dark: #000000;
JSON
{
"hex": "#9d46ae",
"rgb": {
"r": 157,
"g": 70,
"b": 174
},
"hsl": {
"h": 290.192,
"s": 42.623,
"l": 47.843
},
"oklch": {
"l": 0.54856,
"c": 0.17531,
"h": 320.8
},
"luminance": 0.14604
}Semantic roles & 50–950 ramp
primary
#9D46AE
secondary
#96C28E
accent
#D2556A
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82