#9D46C7#9D46C7
#9D46C7 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.4% C 0.200 H 312.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9D46C7 |
|---|---|
| RGB | rgb(157, 70, 199) |
| HSL | hsl(280, 54%, 53%) |
| HSV | hsv(280, 65%, 78%) |
| CMYK | cmyk(21.1%, 64.8%, 0%, 22%) |
| CIE-LAB | lab(46.54, 56.66, -52.08) |
| CIE-LCH | lch(46.54, 76.96, 317.41°) |
| OKLab | oklab(56.38% 0.1359 -0.1466) |
| OKLCH | oklch(56.38% 0.2 312.8) |
| XYZ | xyz(26.4018, 15.6727, 55.6561) |
| Luminance | 0.1567 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.85
Darkorchid
#9932CC
ΔE00 3.88
Lightish Purple
#A552E6
ΔE00 5.88
Amethyst
#9B5FC0
ΔE00 6.09
Vibrant Purple
#AD03DE
ΔE00 6.15
Barney
#AC1DB8
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D46C7 #70C746
analogous
#5C46C7 #9D46C7 #C746B1
triadic
#9D46C7 #C79D46 #46C79D
tetradic
#9D46C7 #C75C46 #70C746 #46B1C7
square
#9D46C7 #C75C46 #70C746 #46B1C7
split-complementary
#9D46C7 #B1C746 #46C75C
monochromatic
#572271 #7B30A0 #9D46C7 #B675D5 #CFA4E3
Accessibility & contrast
On white
5.08
#9D46C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#9D46C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D46C7
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D46C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D46C7 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACB
Deuteranopia (green-blind)
#3D70C4
Tritanopia (blue-blind)
#995F80
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9d46c7; /* rgb */ color: rgb(157, 70, 199); /* oklch */ color: oklch(56.4% 0.200 312.8);
Tailwind
colors: {
custom: {
50: '#be7fd9',
500: '#9d46c7',
950: '#000000',
},
}SCSS
$custom: #9d46c7; $custom-light: #be7fd9; $custom-dark: #000000;
JSON
{
"hex": "#9d46c7",
"rgb": {
"r": 157,
"g": 70,
"b": 199
},
"hsl": {
"h": 280.465,
"s": 53.527,
"l": 52.745
},
"oklch": {
"l": 0.56377,
"c": 0.19992,
"h": 312.8
},
"luminance": 0.15672
}Semantic roles & 50–950 ramp
primary
#9D46C7
secondary
#ABD098
accent
#DD4B7A
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120A15
muted
#817C83