#9F37BD#9F37BD

#9F37BD is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.4% C 0.210 H 317.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9F37BD
RGBrgb(159, 55, 189)
HSLhsl(287, 55%, 48%)
HSVhsv(287, 71%, 74%)
CMYKcmyk(15.9%, 70.9%, 0%, 25.9%)
CIE-LABlab(43.91, 61.46, -50.47)
CIE-LCHlch(43.91, 79.53, 320.61°)
OKLaboklab(54.35% 0.1553 -0.1417)
OKLCHoklch(54.35% 0.21 317.6)
XYZxyz(24.8483, 13.7785, 49.4849)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F37BD #55BD37
analogous
#5C37BD #9F37BD #BD3798
triadic
#9F37BD #BD9F37 #37BD9F
tetradic
#9F37BD #BD5C37 #55BD37 #3798BD
square
#9F37BD #BD5C37 #55BD37 #3798BD
split-complementary
#9F37BD #98BD37 #37BD5C
monochromatic
#4F1B5E #77298E #9F37BD #B860D1 #CD90DF

Accessibility & contrast

On white

5.59
#9F37BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9F37BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F37BD
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F37BD#FFFFFF#000000##FFFFFF
##9F37BD1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#3B6BBA
Tritanopia (blue-blind)
#9E5276
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f37bd;
/* rgb */ color: rgb(159, 55, 189);
/* oklch */ color: oklch(54.4% 0.210 317.6);
Tailwind
colors: {
  custom: {
    50: '#bf77d1',
    500: '#9f37bd',
    950: '#000000',
  },
}
SCSS
$custom: #9f37bd;
$custom-light: #bf77d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f37bd",
  "rgb": {
    "r": 159,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 286.567,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5435,
    "c": 0.21029,
    "h": 317.6
  },
  "luminance": 0.13777
}

Semantic roles & 50–950 ramp

primary
#9F37BD
secondary
#95C986
accent
#DE4A6B
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F37BD

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

Preview Lab → · Contrast checker → · Palette generator →

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