#9F2597#9F2597
#9F2597 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.4% C 0.199 H 331.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2597 |
|---|---|
| RGB | rgb(159, 37, 151) |
| HSL | hsl(304, 62%, 38%) |
| HSV | hsv(304, 77%, 62%) |
| CMYK | cmyk(0%, 76.7%, 5%, 37.6%) |
| CIE-LAB | lab(39.46, 61.01, -34.95) |
| CIE-LCH | lch(39.46, 70.31, 330.20°) |
| OKLab | oklab(50.45% 0.1739 -0.0964) |
| OKLCH | oklch(50.45% 0.199 331) |
| XYZ | xyz(20.5455, 10.9301, 30.2998) |
| Luminance | 0.1093 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.07
Barney Purple
#A00498
ΔE00 2.42
Medium Purple
#9E43A2
ΔE00 5.19
Ugly Purple
#A442A0
ΔE00 5.28
Barney
#AC1DB8
ΔE00 5.43
Darkmagenta
#8B008B
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2597 #259F2D
analogous
#6A259F #9F2597 #9F255A
triadic
#9F2597 #979F25 #25979F
tetradic
#9F2597 #9F6A25 #259F2D #255A9F
square
#9F2597 #9F6A25 #259F2D #255A9F
split-complementary
#9F2597 #5A9F25 #259F6A
monochromatic
#3C0E39 #6D1968 #9F2597 #CF32C5 #DB64D3
Accessibility & contrast
On white
6.59
#9F2597 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#9F2597 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2597
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2597 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2597 | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#18529A
Deuteranopia (green-blind)
#4C6394
Tritanopia (blue-blind)
#A5355D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9f2597; /* rgb */ color: rgb(159, 37, 151); /* oklch */ color: oklch(50.4% 0.199 331.0);
Tailwind
colors: {
custom: {
50: '#bf6eb6',
500: '#9f2597',
950: '#000000',
},
}SCSS
$custom: #9f2597; $custom-light: #bf6eb6; $custom-dark: #000000;
JSON
{
"hex": "#9f2597",
"rgb": {
"r": 159,
"g": 37,
"b": 151
},
"hsl": {
"h": 303.934,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.50448,
"c": 0.19885,
"h": 331
},
"luminance": 0.10928
}Semantic roles & 50–950 ramp
primary
#9F2597
secondary
#5FC066
accent
#E54D42
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80