#9A2E99#9A2E99
#9A2E99 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.188 H 328.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2E99 |
|---|---|
| RGB | rgb(154, 46, 153) |
| HSL | hsl(301, 54%, 39%) |
| HSV | hsv(301, 70%, 60%) |
| CMYK | cmyk(0%, 70.1%, 0.6%, 39.6%) |
| CIE-LAB | lab(39.79, 57.18, -35.69) |
| CIE-LCH | lch(39.79, 67.41, 328.03°) |
| OKLab | oklab(50.56% 0.1599 -0.0987) |
| OKLCH | oklch(50.56% 0.188 328.3) |
| XYZ | xyz(20.0530, 11.1254, 31.2220) |
| Luminance | 0.1112 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.84
Barney Purple
#A00498
ΔE00 3.36
Medium Purple
#9E43A2
ΔE00 4.29
Ugly Purple
#A442A0
ΔE00 4.71
Barney
#AC1DB8
ΔE00 5.31
Purply
#983FB2
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2E99 #2E9A2F
analogous
#652E9A #9A2E99 #9A2E63
triadic
#9A2E99 #999A2E #2E999A
tetradic
#9A2E99 #9A652E #2E9A2F #2E639A
square
#9A2E99 #9A652E #2E9A2F #2E639A
split-complementary
#9A2E99 #639A2E #2E9A65
monochromatic
#3C123B #6B206A #9A2E99 #C63FC5 #D46FD3
Accessibility & contrast
On white
6.51
#9A2E99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#9A2E99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2E99
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2E99 | 1.00 | 6.51 | 3.22 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E559C
Deuteranopia (green-blind)
#4B6396
Tritanopia (blue-blind)
#9F3D60
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9a2e99; /* rgb */ color: rgb(154, 46, 153); /* oklch */ color: oklch(50.6% 0.188 328.3);
Tailwind
colors: {
custom: {
50: '#bb71b7',
500: '#9a2e99',
950: '#000000',
},
}SCSS
$custom: #9a2e99; $custom-light: #bb71b7; $custom-dark: #000000;
JSON
{
"hex": "#9a2e99",
"rgb": {
"r": 154,
"g": 46,
"b": 153
},
"hsl": {
"h": 300.556,
"s": 54,
"l": 39.216
},
"oklch": {
"l": 0.50557,
"c": 0.18793,
"h": 328.3
},
"luminance": 0.11124
}Semantic roles & 50–950 ramp
primary
#9A2E99
secondary
#69BB69
accent
#DD4C4A
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80