#9F2C97#9F2C97
#9F2C97 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.191 H 331.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2C97 |
|---|---|
| RGB | rgb(159, 44, 151) |
| HSL | hsl(304, 57%, 40%) |
| HSV | hsv(304, 72%, 62%) |
| CMYK | cmyk(0%, 72.3%, 5%, 37.6%) |
| CIE-LAB | lab(40.26, 58.74, -33.69) |
| CIE-LCH | lch(40.26, 67.71, 330.16°) |
| OKLab | oklab(51.02% 0.1674 -0.0928) |
| OKLCH | oklch(51.02% 0.191 331) |
| XYZ | xyz(20.7846, 11.4083, 30.3795) |
| Luminance | 0.1141 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.03
Barney Purple
#A00498
ΔE00 3.36
Medium Purple
#9E43A2
ΔE00 4.36
Ugly Purple
#A442A0
ΔE00 4.40
Barney
#AC1DB8
ΔE00 5.51
Purply
#983FB2
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2C97 #2C9F34
analogous
#6E2C9F #9F2C97 #9F2C5E
triadic
#9F2C97 #979F2C #2C979F
tetradic
#9F2C97 #9F6E2C #2C9F34 #2C5E9F
square
#9F2C97 #9F6E2C #2C9F34 #2C5E9F
split-complementary
#9F2C97 #5E9F2C #2C9F6E
monochromatic
#3F113C #6F1F69 #9F2C97 #CA3EC0 #D76ED0
Accessibility & contrast
On white
6.40
#9F2C97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#9F2C97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2C97
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2C97 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22559A
Deuteranopia (green-blind)
#4F6494
Tritanopia (blue-blind)
#A53A5E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9f2c97; /* rgb */ color: rgb(159, 44, 151); /* oklch */ color: oklch(51.0% 0.191 331.0);
Tailwind
colors: {
custom: {
50: '#bf71b6',
500: '#9f2c97',
950: '#000000',
},
}SCSS
$custom: #9f2c97; $custom-light: #bf71b6; $custom-dark: #000000;
JSON
{
"hex": "#9f2c97",
"rgb": {
"r": 159,
"g": 44,
"b": 151
},
"hsl": {
"h": 304.174,
"s": 56.65,
"l": 39.804
},
"oklch": {
"l": 0.5102,
"c": 0.19135,
"h": 331
},
"luminance": 0.11407
}Semantic roles & 50–950 ramp
primary
#9F2C97
secondary
#69BE6F
accent
#E05248
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80