#9F37CA#9F37CA

#9F37CA is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.2% C 0.222 H 313.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9F37CA
RGBrgb(159, 55, 202)
HSLhsl(282, 58%, 50%)
HSVhsv(282, 73%, 79%)
CMYKcmyk(21.3%, 72.8%, 0%, 20.8%)
CIE-LABlab(44.76, 64.03, -56.67)
CIE-LCHlch(44.76, 85.51, 318.49°)
OKLaboklab(55.22% 0.154 -0.1599)
OKLCHoklch(55.22% 0.222 313.9)
XYZxyz(26.3231, 14.3684, 57.2524)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F37CA #62CA37
analogous
#5537CA #9F37CA #CA37AB
triadic
#9F37CA #CA9F37 #37CA9F
tetradic
#9F37CA #CA5537 #62CA37 #37ABCA
square
#9F37CA #CA5537 #62CA37 #37ABCA
split-complementary
#9F37CA #ABCA37 #37CA55
monochromatic
#541C6A #7A299B #9F37CA #B667D7 #CD98E4

Accessibility & contrast

On white

5.42
#9F37CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9F37CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F37CA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F37CA#FFFFFF#000000##FFFFFF
##9F37CA1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#2C6CC7
Tritanopia (blue-blind)
#9B577E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f37ca;
/* rgb */ color: rgb(159, 55, 202);
/* oklch */ color: oklch(55.2% 0.222 313.9);
Tailwind
colors: {
  custom: {
    50: '#c078db',
    500: '#9f37ca',
    950: '#000000',
  },
}
SCSS
$custom: #9f37ca;
$custom-light: #c078db;
$custom-dark: #000000;
JSON
{
  "hex": "#9f37ca",
  "rgb": {
    "r": 159,
    "g": 55,
    "b": 202
  },
  "hsl": {
    "h": 282.449,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55219,
    "c": 0.222,
    "h": 313.9
  },
  "luminance": 0.14368
}

Semantic roles & 50–950 ramp

primary
#9F37CA
secondary
#A1CF8E
accent
#E14674
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F37CA

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

Preview Lab → · Contrast checker → · Palette generator →

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