#9F37C4#9F37C4

#9F37C4 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.8% C 0.217 H 315.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9F37C4
RGBrgb(159, 55, 196)
HSLhsl(284, 56%, 49%)
HSVhsv(284, 72%, 77%)
CMYKcmyk(18.9%, 71.9%, 0%, 23.1%)
CIE-LABlab(44.36, 62.83, -53.83)
CIE-LCHlch(44.36, 82.74, 319.41°)
OKLaboklab(54.81% 0.1547 -0.1516)
OKLCHoklch(54.81% 0.217 315.6)
XYZxyz(25.6265, 14.0898, 53.5835)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F37C4 #5CC437
analogous
#5937C4 #9F37C4 #C437A3
triadic
#9F37C4 #C49F37 #37C49F
tetradic
#9F37C4 #C45937 #5CC437 #37A3C4
square
#9F37C4 #C45937 #5CC437 #37A3C4
split-complementary
#9F37C4 #A3C437 #37C459
monochromatic
#511C64 #782A94 #9F37C4 #B665D4 #CD94E1

Accessibility & contrast

On white

5.50
#9F37C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9F37C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F37C4
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F37C4#FFFFFF#000000##FFFFFF
##9F37C41.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#346CC1
Tritanopia (blue-blind)
#9C557A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9f37c4;
/* rgb */ color: rgb(159, 55, 196);
/* oklch */ color: oklch(54.8% 0.217 315.6);
Tailwind
colors: {
  custom: {
    50: '#bf77d7',
    500: '#9f37c4',
    950: '#000000',
  },
}
SCSS
$custom: #9f37c4;
$custom-light: #bf77d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f37c4",
  "rgb": {
    "r": 159,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 284.255,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54812,
    "c": 0.21658,
    "h": 315.6
  },
  "luminance": 0.14089
}

Semantic roles & 50–950 ramp

primary
#9F37C4
secondary
#9CCC8B
accent
#DF4870
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F37C4

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

Preview Lab → · Contrast checker → · Palette generator →

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