#9F2591#9F2591

#9F2591 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.1% C 0.194 H 333.3°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9F2591
RGBrgb(159, 37, 145)
HSLhsl(307, 62%, 38%)
HSVhsv(307, 77%, 62%)
CMYKcmyk(0%, 76.7%, 8.8%, 37.6%)
CIE-LABlab(39.14, 60.08, -31.81)
CIE-LCHlch(39.14, 67.98, 332.10°)
OKLaboklab(50.11% 0.1737 -0.0873)
OKLCHoklch(50.11% 0.194 333.3)
XYZxyz(20.0706, 10.7401, 27.7986)
Luminance0.1074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2591 #259F33
analogous
#70259F #9F2591 #9F2554
triadic
#9F2591 #919F25 #25919F
tetradic
#9F2591 #9F7025 #259F33 #25549F
square
#9F2591 #9F7025 #259F33 #25549F
split-complementary
#9F2591 #549F25 #259F70
monochromatic
#3C0E36 #6D1964 #9F2591 #CF32BD #DB64CD

Accessibility & contrast

On white

6.67
#9F2591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9F2591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2591
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2591#FFFFFF#000000##FFFFFF
##9F25911.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205194
Deuteranopia (green-blind)
#4F628E
Tritanopia (blue-blind)
#A63259
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2591;
/* rgb */ color: rgb(159, 37, 145);
/* oklch */ color: oklch(50.1% 0.194 333.3);
Tailwind
colors: {
  custom: {
    50: '#bf6eb1',
    500: '#9f2591',
    950: '#000000',
  },
}
SCSS
$custom: #9f2591;
$custom-light: #bf6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2591",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 306.885,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50112,
    "c": 0.19444,
    "h": 333.3
  },
  "luminance": 0.10738
}

Semantic roles & 50–950 ramp

primary
#9F2591
secondary
#5FC06B
accent
#E55542
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2591

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

Preview Lab → · Contrast checker → · Palette generator →

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