#9F37C9#9F37C9

#9F37C9 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.221 H 314.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9F37C9
RGBrgb(159, 55, 201)
HSLhsl(283, 57%, 50%)
HSVhsv(283, 73%, 79%)
CMYKcmyk(20.9%, 72.6%, 0%, 21.2%)
CIE-LABlab(44.69, 63.83, -56.20)
CIE-LCHlch(44.69, 85.05, 318.64°)
OKLaboklab(55.15% 0.1541 -0.1586)
OKLCHoklch(55.15% 0.221 314.2)
XYZxyz(26.2051, 14.3212, 56.6309)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F37C9 #61C937
analogous
#5637C9 #9F37C9 #C937AA
triadic
#9F37C9 #C99F37 #37C99F
tetradic
#9F37C9 #C95637 #61C937 #37AAC9
square
#9F37C9 #C95637 #61C937 #37AAC9
split-complementary
#9F37C9 #AAC937 #37C956
monochromatic
#531C69 #792999 #9F37C9 #B667D6 #CD97E3

Accessibility & contrast

On white

5.43
#9F37C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9F37C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F37C9
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F37C9#FFFFFF#000000##FFFFFF
##9F37C91.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CD
Deuteranopia (green-blind)
#2E6CC6
Tritanopia (blue-blind)
#9B577D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f37c9;
/* rgb */ color: rgb(159, 55, 201);
/* oklch */ color: oklch(55.1% 0.221 314.2);
Tailwind
colors: {
  custom: {
    50: '#c078da',
    500: '#9f37c9',
    950: '#000000',
  },
}
SCSS
$custom: #9f37c9;
$custom-light: #c078da;
$custom-dark: #000000;
JSON
{
  "hex": "#9f37c9",
  "rgb": {
    "r": 159,
    "g": 55,
    "b": 201
  },
  "hsl": {
    "h": 282.74,
    "s": 57.48,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5515,
    "c": 0.2211,
    "h": 314.2
  },
  "luminance": 0.1432
}

Semantic roles & 50–950 ramp

primary
#9F37C9
secondary
#A0CF8D
accent
#E14773
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9F37C9

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

Preview Lab → · Contrast checker → · Palette generator →

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