#9F37AF#9F37AF

#9F37AF is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.5% C 0.198 H 322.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9F37AF
RGBrgb(159, 55, 175)
HSLhsl(292, 52%, 45%)
HSVhsv(292, 69%, 69%)
CMYKcmyk(9.1%, 68.6%, 0%, 31.4%)
CIE-LABlab(43.06, 58.80, -43.60)
CIE-LCHlch(43.06, 73.20, 323.44°)
OKLaboklab(53.47% 0.1561 -0.1217)
OKLCHoklch(53.47% 0.198 322.1)
XYZxyz(23.4013, 13.1997, 41.8643)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F37AF #47AF37
analogous
#6337AF #9F37AF #AF3783
triadic
#9F37AF #AF9F37 #37AF9F
tetradic
#9F37AF #AF6337 #47AF37 #3783AF
square
#9F37AF #AF6337 #47AF37 #3783AF
split-complementary
#9F37AF #83AF37 #37AF63
monochromatic
#4A1A52 #752880 #9F37AF #BB59CB #CE87D9

Accessibility & contrast

On white

5.77
#9F37AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9F37AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F37AF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F37AF#FFFFFF#000000##FFFFFF
##9F37AF1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105EB2
Deuteranopia (green-blind)
#476AAC
Tritanopia (blue-blind)
#A14C6F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f37af;
/* rgb */ color: rgb(159, 55, 175);
/* oklch */ color: oklch(53.5% 0.198 322.1);
Tailwind
colors: {
  custom: {
    50: '#bf77c7',
    500: '#9f37af',
    950: '#000000',
  },
}
SCSS
$custom: #9f37af;
$custom-light: #bf77c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f37af",
  "rgb": {
    "r": 159,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 292,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53468,
    "c": 0.19787,
    "h": 322.1
  },
  "luminance": 0.13198
}

Semantic roles & 50–950 ramp

primary
#9F37AF
secondary
#88C37F
accent
#DC4C5F
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F37AF

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

Preview Lab → · Contrast checker → · Palette generator →

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