#9F2EA2#9F2EA2
#9F2EA2 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.8% C 0.198 H 326.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2EA2 |
|---|---|
| RGB | rgb(159, 46, 162) |
| HSL | hsl(298, 56%, 41%) |
| HSV | hsv(298, 72%, 64%) |
| CMYK | cmyk(1.9%, 71.6%, 0%, 36.5%) |
| CIE-LAB | lab(41.11, 59.87, -38.96) |
| CIE-LCH | lch(41.11, 71.43, 326.94°) |
| OKLab | oklab(51.83% 0.1656 -0.1081) |
| OKLCH | oklch(51.83% 0.198 326.9) |
| XYZ | xyz(21.7963, 11.9350, 35.3311) |
| Luminance | 0.1193 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.47
Medium Purple
#9E43A2
ΔE00 3.72
Barney
#AC1DB8
ΔE00 3.77
Barney Purple
#A00498
ΔE00 3.90
Ugly Purple
#A442A0
ΔE00 4.21
Purply
#983FB2
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2EA2 #31A22E
analogous
#652EA2 #9F2EA2 #A22E6B
triadic
#9F2EA2 #A29F2E #2EA29F
tetradic
#9F2EA2 #A2652E #31A22E #2E6BA2
square
#9F2EA2 #A2652E #31A22E #2E6BA2
split-complementary
#9F2EA2 #6BA22E #2EA265
monochromatic
#411343 #702072 #9F2EA2 #C643CA #D573D7
Accessibility & contrast
On white
6.20
#9F2EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#9F2EA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2EA2
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2EA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2EA2 | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1558A5
Deuteranopia (green-blind)
#4A669F
Tritanopia (blue-blind)
#A34065
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #9f2ea2; /* rgb */ color: rgb(159, 46, 162); /* oklch */ color: oklch(51.8% 0.198 326.9);
Tailwind
colors: {
custom: {
50: '#bf72be',
500: '#9f2ea2',
950: '#000000',
},
}SCSS
$custom: #9f2ea2; $custom-light: #bf72be; $custom-dark: #000000;
JSON
{
"hex": "#9f2ea2",
"rgb": {
"r": 159,
"g": 46,
"b": 162
},
"hsl": {
"h": 298.448,
"s": 55.769,
"l": 40.784
},
"oklch": {
"l": 0.51828,
"c": 0.19773,
"h": 326.9
},
"luminance": 0.11934
}Semantic roles & 50–950 ramp
primary
#9F2EA2
secondary
#6FBF6D
accent
#DF494D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81