#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
RGBrgb(159, 37, 151)
HSLhsl(304, 62%, 38%)
HSVhsv(304, 77%, 62%)
CMYKcmyk(0%, 76.7%, 5%, 37.6%)
CIE-LABlab(39.46, 61.01, -34.95)
CIE-LCHlch(39.46, 70.31, 330.20°)
OKLaboklab(50.45% 0.1739 -0.0964)
OKLCHoklch(50.45% 0.199 331)
XYZxyz(20.5455, 10.9301, 30.2998)
Luminance0.1093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

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
##9F25971.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.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

Preview Lab

Preview with #9F2597

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9F2597 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva