#9A2FA4#9A2FA4
#9A2FA4 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.196 H 324.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2FA4 |
|---|---|
| RGB | rgb(154, 47, 164) |
| HSL | hsl(295, 55%, 41%) |
| HSV | hsv(295, 71%, 64%) |
| CMYK | cmyk(6.1%, 71.3%, 0%, 35.7%) |
| CIE-LAB | lab(40.55, 58.74, -41.11) |
| CIE-LCH | lch(40.55, 71.69, 325.01°) |
| OKLab | oklab(51.3% 0.1589 -0.1145) |
| OKLCH | oklch(51.3% 0.196 324.2) |
| XYZ | xyz(21.0432, 11.5847, 36.2424) |
| Luminance | 0.1158 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.70
Warm Purple
#952E8F
ΔE00 3.77
Barney
#AC1DB8
ΔE00 3.86
Barney Purple
#A00498
ΔE00 4.16
Medium Purple
#9E43A2
ΔE00 4.16
Ugly Purple
#A442A0
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2FA4 #39A42F
analogous
#602FA4 #9A2FA4 #A42F74
triadic
#9A2FA4 #A49A2F #2FA49A
tetradic
#9A2FA4 #A4602F #39A42F #2F74A4
square
#9A2FA4 #A4602F #39A42F #2F74A4
split-complementary
#9A2FA4 #74A42F #2FA460
monochromatic
#411445 #6D2174 #9A2FA4 #BF46CA #CF76D8
Accessibility & contrast
On white
6.33
#9A2FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#9A2FA4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2FA4
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2FA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2FA4 | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A57A7
Deuteranopia (green-blind)
#4464A1
Tritanopia (blue-blind)
#9D4366
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9a2fa4; /* rgb */ color: rgb(154, 47, 164); /* oklch */ color: oklch(51.3% 0.196 324.2);
Tailwind
colors: {
custom: {
50: '#bb72bf',
500: '#9a2fa4',
950: '#000000',
},
}SCSS
$custom: #9a2fa4; $custom-light: #bb72bf; $custom-dark: #000000;
JSON
{
"hex": "#9a2fa4",
"rgb": {
"r": 154,
"g": 47,
"b": 164
},
"hsl": {
"h": 294.872,
"s": 55.45,
"l": 41.373
},
"oklch": {
"l": 0.51303,
"c": 0.19583,
"h": 324.2
},
"luminance": 0.11583
}Semantic roles & 50–950 ramp
primary
#9A2FA4
secondary
#76C06F
accent
#DF4956
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81