#9A2F99#9A2F99
#9A2F99 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.187 H 328.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2F99 |
|---|---|
| RGB | rgb(154, 47, 153) |
| HSL | hsl(301, 53%, 39%) |
| HSV | hsv(301, 69%, 60%) |
| CMYK | cmyk(0%, 69.5%, 0.6%, 39.6%) |
| CIE-LAB | lab(39.92, 56.81, -35.49) |
| CIE-LCH | lch(39.92, 66.98, 328.01°) |
| OKLab | oklab(50.65% 0.1589 -0.0981) |
| OKLCH | oklch(50.65% 0.187 328.3) |
| XYZ | xyz(20.0925, 11.2044, 31.2352) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.86
Barney Purple
#A00498
ΔE00 3.50
Medium Purple
#9E43A2
ΔE00 4.15
Ugly Purple
#A442A0
ΔE00 4.57
Purply
#983FB2
ΔE00 5.33
Barney
#AC1DB8
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2F99 #2F9A30
analogous
#662F9A #9A2F99 #9A2F64
triadic
#9A2F99 #999A2F #2F999A
tetradic
#9A2F99 #9A662F #2F9A30 #2F649A
square
#9A2F99 #9A662F #2F9A30 #2F649A
split-complementary
#9A2F99 #649A2F #2F9A66
monochromatic
#3C123C #6B216A #9A2F99 #C541C4 #D370D2
Accessibility & contrast
On white
6.48
#9A2F99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#9A2F99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2F99
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2F99 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F559C
Deuteranopia (green-blind)
#4B6396
Tritanopia (blue-blind)
#9F3E60
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9a2f99; /* rgb */ color: rgb(154, 47, 153); /* oklch */ color: oklch(50.7% 0.187 328.3);
Tailwind
colors: {
custom: {
50: '#bb71b7',
500: '#9a2f99',
950: '#000000',
},
}SCSS
$custom: #9a2f99; $custom-light: #bb71b7; $custom-dark: #000000;
JSON
{
"hex": "#9a2f99",
"rgb": {
"r": 154,
"g": 47,
"b": 153
},
"hsl": {
"h": 300.561,
"s": 53.234,
"l": 39.412
},
"oklch": {
"l": 0.50652,
"c": 0.18672,
"h": 328.3
},
"luminance": 0.11203
}Semantic roles & 50–950 ramp
primary
#9A2F99
secondary
#6ABB6B
accent
#DD4D4B
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80