#9F34AC#9F34AC
#9F34AC is a mid, vivid purple. Relative luminance 0.128; OKLCH L 53.0% C 0.199 H 323.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9F34AC |
|---|---|
| RGB | rgb(159, 52, 172) |
| HSL | hsl(294, 54%, 44%) |
| HSV | hsv(294, 70%, 67%) |
| CMYK | cmyk(7.6%, 69.8%, 0%, 32.5%) |
| CIE-LAB | lab(42.47, 59.42, -42.77) |
| CIE-LCH | lch(42.47, 73.21, 324.26°) |
| OKLab | oklab(52.99% 0.1593 -0.1192) |
| OKLCH | oklch(52.99% 0.199 323.2) |
| XYZ | xyz(22.9718, 12.8068, 40.2837) |
| Luminance | 0.1280 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.44
Barney
#AC1DB8
ΔE00 2.94
Medium Purple
#9E43A2
ΔE00 3.44
Ugly Purple
#A442A0
ΔE00 4.27
Warm Purple
#952E8F
ΔE00 5.25
Barney Purple
#A00498
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F34AC #41AC34
analogous
#6334AC #9F34AC #AC347D
triadic
#9F34AC #AC9F34 #34AC9F
tetradic
#9F34AC #AC6334 #41AC34 #347DAC
square
#9F34AC #AC6334 #41AC34 #347DAC
split-complementary
#9F34AC #7DAC34 #34AC63
monochromatic
#48184E #74267D #9F34AC #BE52CB #D081D9
Accessibility & contrast
On white
5.90
#9F34AC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#9F34AC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F34AC
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F34AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F34AC | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E5CAF
Deuteranopia (green-blind)
#4768A9
Tritanopia (blue-blind)
#A2486C
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #9f34ac; /* rgb */ color: rgb(159, 52, 172); /* oklch */ color: oklch(53.0% 0.199 323.2);
Tailwind
colors: {
custom: {
50: '#bf75c5',
500: '#9f34ac',
950: '#000000',
},
}SCSS
$custom: #9f34ac; $custom-light: #bf75c5; $custom-dark: #000000;
JSON
{
"hex": "#9f34ac",
"rgb": {
"r": 159,
"g": 52,
"b": 172
},
"hsl": {
"h": 293.5,
"s": 53.571,
"l": 43.922
},
"oklch": {
"l": 0.52987,
"c": 0.19897,
"h": 323.2
},
"luminance": 0.12805
}Semantic roles & 50–950 ramp
primary
#9F34AC
secondary
#81C279
accent
#DD4B5B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82