#9D46C8#9D46C8
#9D46C8 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.4% C 0.201 H 312.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9D46C8 |
|---|---|
| RGB | rgb(157, 70, 200) |
| HSL | hsl(280, 54%, 53%) |
| HSV | hsv(280, 65%, 78%) |
| CMYK | cmyk(21.5%, 65%, 0%, 21.6%) |
| CIE-LAB | lab(46.60, 56.87, -52.56) |
| CIE-LCH | lch(46.60, 77.44, 317.26°) |
| OKLab | oklab(56.44% 0.1359 -0.148) |
| OKLCH | oklch(56.44% 0.201 312.5) |
| XYZ | xyz(26.5183, 15.7193, 56.2696) |
| Luminance | 0.1572 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.86
Purply
#983FB2
ΔE00 4.00
Lightish Purple
#A552E6
ΔE00 5.75
Vibrant Purple
#AD03DE
ΔE00 6.10
Amethyst
#9B5FC0
ΔE00 6.11
Barney
#AC1DB8
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D46C8 #71C846
analogous
#5C46C8 #9D46C8 #C846B2
triadic
#9D46C8 #C89D46 #46C89D
tetradic
#9D46C8 #C85C46 #71C846 #46B2C8
square
#9D46C8 #C85C46 #71C846 #46B2C8
split-complementary
#9D46C8 #B2C846 #46C85C
monochromatic
#572272 #7C30A1 #9D46C8 #B675D6 #CFA4E4
Accessibility & contrast
On white
5.07
#9D46C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#9D46C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D46C8
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D46C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D46C8 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#3C70C5
Tritanopia (blue-blind)
#986081
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9d46c8; /* rgb */ color: rgb(157, 70, 200); /* oklch */ color: oklch(56.4% 0.201 312.5);
Tailwind
colors: {
custom: {
50: '#be7fd9',
500: '#9d46c8',
950: '#000000',
},
}SCSS
$custom: #9d46c8; $custom-light: #be7fd9; $custom-dark: #000000;
JSON
{
"hex": "#9d46c8",
"rgb": {
"r": 157,
"g": 70,
"b": 200
},
"hsl": {
"h": 280.154,
"s": 54.167,
"l": 52.941
},
"oklch": {
"l": 0.56441,
"c": 0.20092,
"h": 312.5
},
"luminance": 0.15719
}Semantic roles & 50–950 ramp
primary
#9D46C8
secondary
#ABD199
accent
#DE4A7B
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83