#9F2EA4#9F2EA4
#9F2EA4 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.9% C 0.199 H 326.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2EA4 |
|---|---|
| RGB | rgb(159, 46, 164) |
| HSL | hsl(297, 56%, 41%) |
| HSV | hsv(297, 72%, 64%) |
| CMYK | cmyk(3%, 72%, 0%, 35.7%) |
| CIE-LAB | lab(41.23, 60.21, -39.98) |
| CIE-LCH | lch(41.23, 72.28, 326.42°) |
| OKLab | oklab(51.95% 0.1656 -0.111) |
| OKLCH | oklch(51.95% 0.199 326.1) |
| XYZ | xyz(21.9755, 12.0067, 36.2748) |
| Luminance | 0.1201 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 3.49
Medium Purple
#9E43A2
ΔE00 3.77
Warm Purple
#952E8F
ΔE00 3.78
Purply
#983FB2
ΔE00 3.96
Barney Purple
#A00498
ΔE00 4.06
Ugly Purple
#A442A0
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2EA4 #33A42E
analogous
#642EA4 #9F2EA4 #A42E6E
triadic
#9F2EA4 #A49F2E #2EA49F
tetradic
#9F2EA4 #A4642E #33A42E #2E6EA4
square
#9F2EA4 #A4642E #33A42E #2E6EA4
split-complementary
#9F2EA4 #6EA42E #2EA464
monochromatic
#421344 #712174 #9F2EA4 #C545CB #D474D8
Accessibility & contrast
On white
6.17
#9F2EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#9F2EA4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2EA4
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2EA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2EA4 | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1158A7
Deuteranopia (green-blind)
#4966A1
Tritanopia (blue-blind)
#A34166
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #9f2ea4; /* rgb */ color: rgb(159, 46, 164); /* oklch */ color: oklch(51.9% 0.199 326.1);
Tailwind
colors: {
custom: {
50: '#bf72bf',
500: '#9f2ea4',
950: '#000000',
},
}SCSS
$custom: #9f2ea4; $custom-light: #bf72bf; $custom-dark: #000000;
JSON
{
"hex": "#9f2ea4",
"rgb": {
"r": 159,
"g": 46,
"b": 164
},
"hsl": {
"h": 297.458,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.51947,
"c": 0.19935,
"h": 326.1
},
"luminance": 0.12005
}Semantic roles & 50–950 ramp
primary
#9F2EA4
secondary
#71C06E
accent
#DF484F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81