#9F37BC#9F37BC

#9F37BC is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.3% C 0.209 H 317.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#9F37BC
RGBrgb(159, 55, 188)
HSLhsl(287, 55%, 48%)
HSVhsv(287, 71%, 74%)
CMYKcmyk(15.4%, 70.7%, 0%, 26.3%)
CIE-LABlab(43.85, 61.27, -49.99)
CIE-LCHlch(43.85, 79.07, 320.79°)
OKLaboklab(54.29% 0.1554 -0.1403)
OKLCHoklch(54.29% 0.209 317.9)
XYZxyz(24.7401, 13.7352, 48.9152)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F37BC #54BC37
analogous
#5C37BC #9F37BC #BC3797
triadic
#9F37BC #BC9F37 #37BC9F
tetradic
#9F37BC #BC5C37 #54BC37 #3797BC
square
#9F37BC #BC5C37 #54BC37 #3797BC
split-complementary
#9F37BC #97BC37 #37BC5C
monochromatic
#4F1B5D #77298D #9F37BC #B860D0 #CD8FDE

Accessibility & contrast

On white

5.60
#9F37BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9F37BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F37BC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F37BC#FFFFFF#000000##FFFFFF
##9F37BC1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#9E5176
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f37bc;
/* rgb */ color: rgb(159, 55, 188);
/* oklch */ color: oklch(54.3% 0.209 317.9);
Tailwind
colors: {
  custom: {
    50: '#bf77d1',
    500: '#9f37bc',
    950: '#000000',
  },
}
SCSS
$custom: #9f37bc;
$custom-light: #bf77d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f37bc",
  "rgb": {
    "r": 159,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 286.917,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54285,
    "c": 0.20939,
    "h": 317.9
  },
  "luminance": 0.13734
}

Semantic roles & 50–950 ramp

primary
#9F37BC
secondary
#94C986
accent
#DE4A6A
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F37BC

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

Preview Lab → · Contrast checker → · Palette generator →

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