#9F3EA2#9F3EA2
#9F3EA2 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.5% C 0.177 H 326.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #9F3EA2 |
|---|---|
| RGB | rgb(159, 62, 162) |
| HSL | hsl(298, 45%, 44%) |
| HSV | hsv(298, 62%, 64%) |
| CMYK | cmyk(1.9%, 61.7%, 0%, 36.5%) |
| CIE-LAB | lab(43.40, 53.47, -35.34) |
| CIE-LCH | lch(43.40, 64.09, 326.53°) |
| OKLab | oklab(53.48% 0.1476 -0.0977) |
| OKLCH | oklch(53.48% 0.177 326.5) |
| XYZ | xyz(22.5419, 13.4262, 35.5796) |
| Luminance | 0.1343 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 0.98
Ugly Purple
#A442A0
ΔE00 1.76
Purply
#983FB2
ΔE00 3.75
Warm Purple
#952E8F
ΔE00 4.71
Barney
#AC1DB8
ΔE00 5.13
Light Eggplant
#894585
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F3EA2 #41A23E
analogous
#6D3EA2 #9F3EA2 #A23E73
triadic
#9F3EA2 #A29F3E #3EA29F
tetradic
#9F3EA2 #A26D3E #41A23E #3E73A2
square
#9F3EA2 #A26D3E #41A23E #3E73A2
split-complementary
#9F3EA2 #73A23E #3EA26D
monochromatic
#481C49 #742D76 #9F3EA2 #BE5CC1 #D089D2
Accessibility & contrast
On white
5.70
#9F3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#9F3EA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F3EA2
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F3EA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F3EA2 | 1.00 | 5.70 | 3.69 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#305FA5
Deuteranopia (green-blind)
#536B9F
Tritanopia (blue-blind)
#A34B6A
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #9f3ea2; /* rgb */ color: rgb(159, 62, 162); /* oklch */ color: oklch(53.5% 0.177 326.5);
Tailwind
colors: {
custom: {
50: '#be7abe',
500: '#9f3ea2',
950: '#000000',
},
}SCSS
$custom: #9f3ea2; $custom-light: #be7abe; $custom-dark: #000000;
JSON
{
"hex": "#9f3ea2",
"rgb": {
"r": 159,
"g": 62,
"b": 162
},
"hsl": {
"h": 298.2,
"s": 44.643,
"l": 43.922
},
"oklch": {
"l": 0.53478,
"c": 0.17703,
"h": 326.5
},
"luminance": 0.13425
}Semantic roles & 50–950 ramp
primary
#9F3EA2
secondary
#81BC80
accent
#D45357
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#120A12
muted
#817C81