#9F3CA2#9F3CA2
#9F3CA2 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.2% C 0.180 H 326.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9F3CA2 |
|---|---|
| RGB | rgb(159, 60, 162) |
| HSL | hsl(298, 46%, 44%) |
| HSV | hsv(298, 63%, 64%) |
| CMYK | cmyk(1.9%, 63%, 0%, 36.5%) |
| CIE-LAB | lab(43.08, 54.34, -35.84) |
| CIE-LCH | lch(43.08, 65.10, 326.59°) |
| OKLab | oklab(53.25% 0.1501 -0.0991) |
| OKLCH | oklch(53.25% 0.18 326.5) |
| XYZ | xyz(22.4351, 13.2127, 35.5440) |
| Luminance | 0.1321 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 1.36
Ugly Purple
#A442A0
ΔE00 2.06
Purply
#983FB2
ΔE00 3.70
Warm Purple
#952E8F
ΔE00 4.46
Barney
#AC1DB8
ΔE00 4.86
Barney Purple
#A00498
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F3CA2 #3FA23C
analogous
#6C3CA2 #9F3CA2 #A23C72
triadic
#9F3CA2 #A29F3C #3CA29F
tetradic
#9F3CA2 #A26C3C #3FA23C #3C72A2
square
#9F3CA2 #A26C3C #3FA23C #3C72A2
split-complementary
#9F3CA2 #72A23C #3CA26C
monochromatic
#471B49 #732B75 #9F3CA2 #BF59C2 #D086D2
Accessibility & contrast
On white
5.77
#9F3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#9F3CA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F3CA2
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F3CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F3CA2 | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D5EA5
Deuteranopia (green-blind)
#526A9F
Tritanopia (blue-blind)
#A34A69
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #9f3ca2; /* rgb */ color: rgb(159, 60, 162); /* oklch */ color: oklch(53.2% 0.180 326.5);
Tailwind
colors: {
custom: {
50: '#be79be',
500: '#9f3ca2',
950: '#000000',
},
}SCSS
$custom: #9f3ca2; $custom-light: #be79be; $custom-dark: #000000;
JSON
{
"hex": "#9f3ca2",
"rgb": {
"r": 159,
"g": 60,
"b": 162
},
"hsl": {
"h": 298.235,
"s": 45.946,
"l": 43.529
},
"oklch": {
"l": 0.53248,
"c": 0.17987,
"h": 326.5
},
"luminance": 0.13211
}Semantic roles & 50–950 ramp
primary
#9F3CA2
secondary
#7FBC7D
accent
#D65256
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#120912
muted
#817B81