#9F37C0#9F37C0

#9F37C0 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.5% C 0.213 H 316.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9F37C0
RGBrgb(159, 55, 192)
HSLhsl(286, 55%, 48%)
HSVhsv(286, 71%, 75%)
CMYKcmyk(17.2%, 71.4%, 0%, 24.7%)
CIE-LABlab(44.10, 62.05, -51.92)
CIE-LCHlch(44.10, 80.90, 320.08°)
OKLaboklab(54.55% 0.1551 -0.146)
OKLCHoklch(54.55% 0.213 316.7)
XYZxyz(25.1773, 13.9101, 51.2176)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F37C0 #58C037
analogous
#5A37C0 #9F37C0 #C0379D
triadic
#9F37C0 #C09F37 #37C09F
tetradic
#9F37C0 #C05A37 #58C037 #379DC0
square
#9F37C0 #C05A37 #58C037 #379DC0
split-complementary
#9F37C0 #9DC037 #37C05A
monochromatic
#501C61 #782990 #9F37C0 #B762D2 #CD92E0

Accessibility & contrast

On white

5.55
#9F37C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9F37C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F37C0
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F37C0#FFFFFF#000000##FFFFFF
##9F37C01.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C4
Deuteranopia (green-blind)
#386BBD
Tritanopia (blue-blind)
#9D5378
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f37c0;
/* rgb */ color: rgb(159, 55, 192);
/* oklch */ color: oklch(54.5% 0.213 316.7);
Tailwind
colors: {
  custom: {
    50: '#bf77d4',
    500: '#9f37c0',
    950: '#000000',
  },
}
SCSS
$custom: #9f37c0;
$custom-light: #bf77d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f37c0",
  "rgb": {
    "r": 159,
    "g": 55,
    "b": 192
  },
  "hsl": {
    "h": 285.547,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54547,
    "c": 0.21298,
    "h": 316.7
  },
  "luminance": 0.13909
}

Semantic roles & 50–950 ramp

primary
#9F37C0
secondary
#98CB88
accent
#DF496D
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F37C0

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

Preview Lab → · Contrast checker → · Palette generator →

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