#9D3FAF#9D3FAF
#9D3FAF is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.1% C 0.186 H 320.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9D3FAF |
|---|---|
| RGB | rgb(157, 63, 175) |
| HSL | hsl(290, 47%, 47%) |
| HSV | hsv(290, 64%, 69%) |
| CMYK | cmyk(10.3%, 64%, 0%, 31.4%) |
| CIE-LAB | lab(43.97, 54.96, -42.17) |
| CIE-LCH | lch(43.97, 69.27, 322.50°) |
| OKLab | oklab(54.06% 0.1446 -0.1176) |
| OKLCH | oklch(54.06% 0.186 320.9) |
| XYZ | xyz(23.4191, 13.8194, 41.9830) |
| Luminance | 0.1382 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.33
Medium Purple
#9E43A2
ΔE00 2.81
Ugly Purple
#A442A0
ΔE00 3.90
Barney
#AC1DB8
ΔE00 4.21
Darkorchid
#9932CC
ΔE00 5.49
Warm Purple
#952E8F
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D3FAF #51AF3F
analogous
#653FAF #9D3FAF #AF3F89
triadic
#9D3FAF #AF9D3F #3FAF9D
tetradic
#9D3FAF #AF653F #51AF3F #3F89AF
square
#9D3FAF #AF653F #51AF3F #3F89AF
split-complementary
#9D3FAF #89AF3F #3FAF65
monochromatic
#4C1F55 #752F82 #9D3FAF #B764C7 #CC91D7
Accessibility & contrast
On white
5.58
#9D3FAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#9D3FAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D3FAF
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D3FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D3FAF | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2261B2
Deuteranopia (green-blind)
#4A6BAC
Tritanopia (blue-blind)
#9E5171
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #9d3faf; /* rgb */ color: rgb(157, 63, 175); /* oklch */ color: oklch(54.1% 0.186 320.9);
Tailwind
colors: {
custom: {
50: '#bd7bc7',
500: '#9d3faf',
950: '#000000',
},
}SCSS
$custom: #9d3faf; $custom-light: #bd7bc7; $custom-dark: #000000;
JSON
{
"hex": "#9d3faf",
"rgb": {
"r": 157,
"g": 63,
"b": 175
},
"hsl": {
"h": 290.357,
"s": 47.059,
"l": 46.667
},
"oklch": {
"l": 0.54064,
"c": 0.18636,
"h": 320.9
},
"luminance": 0.13818
}Semantic roles & 50–950 ramp
primary
#9D3FAF
secondary
#91C387
accent
#D75167
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82