#9F3499#9F3499
#9F3499 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.9% C 0.183 H 330.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9F3499 |
|---|---|
| RGB | rgb(159, 52, 153) |
| HSL | hsl(303, 51%, 41%) |
| HSV | hsv(303, 67%, 62%) |
| CMYK | cmyk(0%, 67.3%, 3.8%, 37.6%) |
| CIE-LAB | lab(41.42, 56.09, -33.07) |
| CIE-LCH | lch(41.42, 65.11, 329.48°) |
| OKLab | oklab(51.89% 0.1589 -0.0911) |
| OKLCH | oklch(51.89% 0.183 330.2) |
| XYZ | xyz(21.2757, 12.1284, 31.3512) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.69
Medium Purple
#9E43A2
ΔE00 3.15
Ugly Purple
#A442A0
ΔE00 3.18
Barney Purple
#A00498
ΔE00 4.57
Purply
#983FB2
ΔE00 5.44
Barney
#AC1DB8
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F3499 #349F3A
analogous
#70349F #9F3499 #9F3464
triadic
#9F3499 #999F34 #34999F
tetradic
#9F3499 #9F7034 #349F3A #34649F
square
#9F3499 #9F7034 #349F3A #34649F
split-complementary
#9F3499 #649F34 #349F70
monochromatic
#431640 #71256D #9F3499 #C44CBE #D37ACE
Accessibility & contrast
On white
6.13
#9F3499 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#9F3499 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F3499
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F3499 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F3499 | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B589C
Deuteranopia (green-blind)
#526796
Tritanopia (blue-blind)
#A54062
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #9f3499; /* rgb */ color: rgb(159, 52, 153); /* oklch */ color: oklch(51.9% 0.183 330.2);
Tailwind
colors: {
custom: {
50: '#bf74b7',
500: '#9f3499',
950: '#000000',
},
}SCSS
$custom: #9f3499; $custom-light: #bf74b7; $custom-dark: #000000;
JSON
{
"hex": "#9f3499",
"rgb": {
"r": 159,
"g": 52,
"b": 153
},
"hsl": {
"h": 303.364,
"s": 50.711,
"l": 41.373
},
"oklch": {
"l": 0.5189,
"c": 0.18314,
"h": 330.2
},
"luminance": 0.12127
}Semantic roles & 50–950 ramp
primary
#9F3499
secondary
#73BC77
accent
#DA554E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80