#9F37AD#9F37AD

#9F37AD is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.3% C 0.196 H 322.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9F37AD
RGBrgb(159, 55, 173)
HSLhsl(293, 52%, 45%)
HSVhsv(293, 68%, 68%)
CMYKcmyk(8.1%, 68.2%, 0%, 32.2%)
CIE-LABlab(42.95, 58.43, -42.60)
CIE-LCHlch(42.95, 72.31, 323.90°)
OKLaboklab(53.35% 0.1561 -0.1187)
OKLCHoklch(53.35% 0.196 322.7)
XYZxyz(23.2063, 13.1217, 40.8375)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F37AD #45AD37
analogous
#6437AD #9F37AD #AD3780
triadic
#9F37AD #AD9F37 #37AD9F
tetradic
#9F37AD #AD6437 #45AD37 #3780AD
square
#9F37AD #AD6437 #45AD37 #3780AD
split-complementary
#9F37AD #80AD37 #37AD64
monochromatic
#4A1950 #74287F #9F37AD #BC57CA #CF86D8

Accessibility & contrast

On white

5.79
#9F37AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9F37AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F37AD
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F37AD#FFFFFF#000000##FFFFFF
##9F37AD1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155EB0
Deuteranopia (green-blind)
#4869AA
Tritanopia (blue-blind)
#A14B6E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f37ad;
/* rgb */ color: rgb(159, 55, 173);
/* oklch */ color: oklch(53.3% 0.196 322.7);
Tailwind
colors: {
  custom: {
    50: '#bf77c6',
    500: '#9f37ad',
    950: '#000000',
  },
}
SCSS
$custom: #9f37ad;
$custom-light: #bf77c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f37ad",
  "rgb": {
    "r": 159,
    "g": 55,
    "b": 173
  },
  "hsl": {
    "h": 292.881,
    "s": 51.754,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53347,
    "c": 0.19613,
    "h": 322.7
  },
  "luminance": 0.1312
}

Semantic roles & 50–950 ramp

primary
#9F37AD
secondary
#86C27D
accent
#DB4D5E
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F37AD

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

Preview Lab → · Contrast checker → · Palette generator →

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