#9E2A9B#9E2A9B
#9E2A9B is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.196 H 329.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2A9B |
|---|---|
| RGB | rgb(158, 42, 155) |
| HSL | hsl(302, 58%, 39%) |
| HSV | hsv(302, 73%, 62%) |
| CMYK | cmyk(0%, 73.4%, 1.9%, 38%) |
| CIE-LAB | lab(40.07, 59.84, -36.42) |
| CIE-LCH | lch(40.07, 70.05, 328.68°) |
| OKLab | oklab(50.92% 0.1684 -0.1007) |
| OKLCH | oklch(50.92% 0.196 329.1) |
| XYZ | xyz(20.8447, 11.2931, 32.0859) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.34
Barney Purple
#A00498
ΔE00 2.97
Medium Purple
#9E43A2
ΔE00 4.45
Ugly Purple
#A442A0
ΔE00 4.72
Barney
#AC1DB8
ΔE00 4.81
Purply
#983FB2
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2A9B #2A9E2D
analogous
#672A9E #9E2A9B #9E2A61
triadic
#9E2A9B #9B9E2A #2A9B9E
tetradic
#9E2A9B #9E672A #2A9E2D #2A619E
square
#9E2A9B #9E672A #2A9E2D #2A619E
split-complementary
#9E2A9B #619E2A #2A9E67
monochromatic
#3D103C #6E1D6C #9E2A9B #CB3AC7 #D86BD5
Accessibility & contrast
On white
6.44
#9E2A9B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#9E2A9B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2A9B
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2A9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2A9B | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#18559E
Deuteranopia (green-blind)
#4B6498
Tritanopia (blue-blind)
#A43B60
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9e2a9b; /* rgb */ color: rgb(158, 42, 155); /* oklch */ color: oklch(50.9% 0.196 329.1);
Tailwind
colors: {
custom: {
50: '#be70b9',
500: '#9e2a9b',
950: '#000000',
},
}SCSS
$custom: #9e2a9b; $custom-light: #be70b9; $custom-dark: #000000;
JSON
{
"hex": "#9e2a9b",
"rgb": {
"r": 158,
"g": 42,
"b": 155
},
"hsl": {
"h": 301.552,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.50922,
"c": 0.19617,
"h": 329.1
},
"luminance": 0.11292
}Semantic roles & 50–950 ramp
primary
#9E2A9B
secondary
#66BE68
accent
#E14B47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80