#9F37D1#9F37D1

#9F37D1 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.7% C 0.228 H 312.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9F37D1
RGBrgb(159, 55, 209)
HSLhsl(281, 63%, 52%)
HSVhsv(281, 74%, 82%)
CMYKcmyk(23.9%, 73.7%, 0%, 18%)
CIE-LABlab(45.23, 65.45, -59.95)
CIE-LCHlch(45.23, 88.75, 317.51°)
OKLaboklab(55.71% 0.153 -0.1696)
OKLCHoklch(55.71% 0.228 312.1)
XYZxyz(27.1708, 14.7075, 61.7168)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F37D1 #69D137
analogous
#5237D1 #9F37D1 #D137B6
triadic
#9F37D1 #D19F37 #37D19F
tetradic
#9F37D1 #D15237 #69D137 #37B6D1
square
#9F37D1 #D15237 #69D137 #37B6D1
split-complementary
#9F37D1 #B6D137 #37D152
monochromatic
#561A73 #7C26A5 #9F37D1 #B769DC #CF9BE8

Accessibility & contrast

On white

5.33
#9F37D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9F37D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F37D1
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F37D1#FFFFFF#000000##FFFFFF
##9F37D11.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D5
Deuteranopia (green-blind)
#216DCE
Tritanopia (blue-blind)
#995A82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9f37d1;
/* rgb */ color: rgb(159, 55, 209);
/* oklch */ color: oklch(55.7% 0.228 312.1);
Tailwind
colors: {
  custom: {
    50: '#c078e0',
    500: '#9f37d1',
    950: '#000000',
  },
}
SCSS
$custom: #9f37d1;
$custom-light: #c078e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f37d1",
  "rgb": {
    "r": 159,
    "g": 55,
    "b": 209
  },
  "hsl": {
    "h": 280.519,
    "s": 62.602,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55705,
    "c": 0.22836,
    "h": 312.1
  },
  "luminance": 0.14707
}

Semantic roles & 50–950 ramp

primary
#9F37D1
secondary
#A6D490
accent
#E64277
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F37D1

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

Preview Lab → · Contrast checker → · Palette generator →

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