#9E2F99#9E2F99
#9E2F99 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.189 H 329.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2F99 |
|---|---|
| RGB | rgb(158, 47, 153) |
| HSL | hsl(303, 54%, 40%) |
| HSV | hsv(303, 70%, 62%) |
| CMYK | cmyk(0%, 70.3%, 3.2%, 38%) |
| CIE-LAB | lab(40.58, 57.76, -34.41) |
| CIE-LCH | lch(40.58, 67.23, 329.22°) |
| OKLab | oklab(51.25% 0.1633 -0.0949) |
| OKLCH | oklch(51.25% 0.189 329.8) |
| XYZ | xyz(20.8667, 11.6036, 31.2715) |
| Luminance | 0.1160 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.19
Barney Purple
#A00498
ΔE00 3.68
Medium Purple
#9E43A2
ΔE00 3.87
Ugly Purple
#A442A0
ΔE00 4.04
Barney
#AC1DB8
ΔE00 5.25
Purply
#983FB2
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2F99 #2F9E34
analogous
#6C2F9E #9E2F99 #9E2F61
triadic
#9E2F99 #999E2F #2F999E
tetradic
#9E2F99 #9E6C2F #2F9E34 #2F619E
square
#9E2F99 #9E6C2F #2F9E34 #2F619E
split-complementary
#9E2F99 #619E2F #2F9E6C
monochromatic
#40133E #6F216B #9E2F99 #C743C1 #D572D1
Accessibility & contrast
On white
6.32
#9E2F99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#9E2F99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2F99
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2F99 | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23569C
Deuteranopia (green-blind)
#4F6596
Tritanopia (blue-blind)
#A43D60
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9e2f99; /* rgb */ color: rgb(158, 47, 153); /* oklch */ color: oklch(51.3% 0.189 329.8);
Tailwind
colors: {
custom: {
50: '#be72b7',
500: '#9e2f99',
950: '#000000',
},
}SCSS
$custom: #9e2f99; $custom-light: #be72b7; $custom-dark: #000000;
JSON
{
"hex": "#9e2f99",
"rgb": {
"r": 158,
"g": 47,
"b": 153
},
"hsl": {
"h": 302.703,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.51252,
"c": 0.18885,
"h": 329.8
},
"luminance": 0.11602
}Semantic roles & 50–950 ramp
primary
#9E2F99
secondary
#6CBD70
accent
#DE514A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80