#9C3DAF#9C3DAF
#9C3DAF is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.7% C 0.189 H 320.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9C3DAF |
|---|---|
| RGB | rgb(156, 61, 175) |
| HSL | hsl(290, 48%, 46%) |
| HSV | hsv(290, 65%, 69%) |
| CMYK | cmyk(10.9%, 65.1%, 0%, 31.4%) |
| CIE-LAB | lab(43.51, 55.59, -42.91) |
| CIE-LCH | lch(43.51, 70.23, 322.34°) |
| OKLab | oklab(53.7% 0.1457 -0.1198) |
| OKLCH | oklch(53.7% 0.189 320.6) |
| XYZ | xyz(23.1160, 13.5017, 41.9376) |
| Luminance | 0.1350 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.10
Medium Purple
#9E43A2
ΔE00 3.09
Barney
#AC1DB8
ΔE00 3.97
Ugly Purple
#A442A0
ΔE00 4.20
Darkorchid
#9932CC
ΔE00 5.22
Warm Purple
#952E8F
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C3DAF #50AF3D
analogous
#633DAF #9C3DAF #AF3D89
triadic
#9C3DAF #AF9C3D #3DAF9C
tetradic
#9C3DAF #AF633D #50AF3D #3D89AF
square
#9C3DAF #AF633D #50AF3D #3D89AF
split-complementary
#9C3DAF #89AF3D #3DAF63
monochromatic
#4B1D54 #742D82 #9C3DAF #B761C8 #CC8FD8
Accessibility & contrast
On white
5.68
#9C3DAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#9C3DAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C3DAF
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C3DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C3DAF | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C60B2
Deuteranopia (green-blind)
#486AAC
Tritanopia (blue-blind)
#9D5071
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #9c3daf; /* rgb */ color: rgb(156, 61, 175); /* oklch */ color: oklch(53.7% 0.189 320.6);
Tailwind
colors: {
custom: {
50: '#bc79c7',
500: '#9c3daf',
950: '#000000',
},
}SCSS
$custom: #9c3daf; $custom-light: #bc79c7; $custom-dark: #000000;
JSON
{
"hex": "#9c3daf",
"rgb": {
"r": 156,
"g": 61,
"b": 175
},
"hsl": {
"h": 290,
"s": 48.305,
"l": 46.275
},
"oklch": {
"l": 0.53699,
"c": 0.18865,
"h": 320.6
},
"luminance": 0.13501
}Semantic roles & 50–950 ramp
primary
#9C3DAF
secondary
#8FC385
accent
#D85067
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82