#9F3CA4#9F3CA4
#9F3CA4 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.4% C 0.182 H 325.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9F3CA4 |
|---|---|
| RGB | rgb(159, 60, 164) |
| HSL | hsl(297, 46%, 44%) |
| HSV | hsv(297, 63%, 64%) |
| CMYK | cmyk(3%, 63.4%, 0%, 35.7%) |
| CIE-LAB | lab(43.19, 54.70, -36.87) |
| CIE-LCH | lch(43.19, 65.97, 326.02°) |
| OKLab | oklab(53.36% 0.1502 -0.1021) |
| OKLCH | oklch(53.36% 0.182 325.8) |
| XYZ | xyz(22.6143, 13.2844, 36.4878) |
| Luminance | 0.1328 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 1.44
Ugly Purple
#A442A0
ΔE00 2.27
Purply
#983FB2
ΔE00 3.34
Barney
#AC1DB8
ΔE00 4.61
Warm Purple
#952E8F
ΔE00 4.70
Barney Purple
#A00498
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F3CA4 #41A43C
analogous
#6B3CA4 #9F3CA4 #A43C75
triadic
#9F3CA4 #A49F3C #3CA49F
tetradic
#9F3CA4 #A46B3C #41A43C #3C75A4
square
#9F3CA4 #A46B3C #41A43C #3C75A4
split-complementary
#9F3CA4 #75A43C #3CA46B
monochromatic
#481B4A #742C77 #9F3CA4 #BE5AC3 #D087D3
Accessibility & contrast
On white
5.74
#9F3CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#9F3CA4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F3CA4
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F3CA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F3CA4 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5EA7
Deuteranopia (green-blind)
#516AA1
Tritanopia (blue-blind)
#A34B6B
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #9f3ca4; /* rgb */ color: rgb(159, 60, 164); /* oklch */ color: oklch(53.4% 0.182 325.8);
Tailwind
colors: {
custom: {
50: '#be79bf',
500: '#9f3ca4',
950: '#000000',
},
}SCSS
$custom: #9f3ca4; $custom-light: #be79bf; $custom-dark: #000000;
JSON
{
"hex": "#9f3ca4",
"rgb": {
"r": 159,
"g": 60,
"b": 164
},
"hsl": {
"h": 297.115,
"s": 46.429,
"l": 43.922
},
"oklch": {
"l": 0.5336,
"c": 0.18161,
"h": 325.8
},
"luminance": 0.13283
}Semantic roles & 50–950 ramp
primary
#9F3CA4
secondary
#81BD7E
accent
#D65258
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#120912
muted
#817B81