#9A2FA0#9A2FA0
#9A2FA0 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.192 H 325.7°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2FA0 |
|---|---|
| RGB | rgb(154, 47, 160) |
| HSL | hsl(297, 55%, 41%) |
| HSV | hsv(297, 71%, 63%) |
| CMYK | cmyk(3.8%, 70.6%, 0%, 37.3%) |
| CIE-LAB | lab(40.32, 58.02, -39.08) |
| CIE-LCH | lch(40.32, 69.96, 326.04°) |
| OKLab | oklab(51.06% 0.1589 -0.1086) |
| OKLCH | oklch(51.06% 0.192 325.7) |
| XYZ | xyz(20.6877, 11.4425, 34.3699) |
| Luminance | 0.1144 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.07
Barney Purple
#A00498
ΔE00 3.81
Medium Purple
#9E43A2
ΔE00 4.05
Purply
#983FB2
ΔE00 4.24
Barney
#AC1DB8
ΔE00 4.33
Ugly Purple
#A442A0
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2FA0 #35A02F
analogous
#612FA0 #9A2FA0 #A02F6D
triadic
#9A2FA0 #A09A2F #2FA09A
tetradic
#9A2FA0 #A0612F #35A02F #2F6DA0
square
#9A2FA0 #A0612F #35A02F #2F6DA0
split-complementary
#9A2FA0 #6DA02F #2FA061
monochromatic
#3F1341 #6C2171 #9A2FA0 #C144C8 #D173D6
Accessibility & contrast
On white
6.39
#9A2FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#9A2FA0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2FA0
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2FA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2FA0 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1457A3
Deuteranopia (green-blind)
#47649D
Tritanopia (blue-blind)
#9E4164
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9a2fa0; /* rgb */ color: rgb(154, 47, 160); /* oklch */ color: oklch(51.1% 0.192 325.7);
Tailwind
colors: {
custom: {
50: '#bb72bc',
500: '#9a2fa0',
950: '#000000',
},
}SCSS
$custom: #9a2fa0; $custom-light: #bb72bc; $custom-dark: #000000;
JSON
{
"hex": "#9a2fa0",
"rgb": {
"r": 154,
"g": 47,
"b": 160
},
"hsl": {
"h": 296.814,
"s": 54.589,
"l": 40.588
},
"oklch": {
"l": 0.51062,
"c": 0.19248,
"h": 325.7
},
"luminance": 0.11441
}Semantic roles & 50–950 ramp
primary
#9A2FA0
secondary
#71BE6D
accent
#DE4A52
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81