#9E37BC#9E37BC

#9E37BC is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.1% C 0.209 H 317.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9E37BC
RGBrgb(158, 55, 188)
HSLhsl(286, 55%, 48%)
HSVhsv(286, 71%, 74%)
CMYKcmyk(16%, 70.7%, 0%, 26.3%)
CIE-LABlab(43.70, 61.05, -50.23)
CIE-LCHlch(43.70, 79.06, 320.56°)
OKLaboklab(54.15% 0.1542 -0.1411)
OKLCHoklch(54.15% 0.209 317.5)
XYZxyz(24.5425, 13.6334, 48.9059)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E37BC #55BC37
analogous
#5B37BC #9E37BC #BC3798
triadic
#9E37BC #BC9E37 #37BC9E
tetradic
#9E37BC #BC5B37 #55BC37 #3798BC
square
#9E37BC #BC5B37 #55BC37 #3798BC
split-complementary
#9E37BC #98BC37 #37BC5B
monochromatic
#4E1B5D #76298D #9E37BC #B760D0 #CC8FDE

Accessibility & contrast

On white

5.64
#9E37BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9E37BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E37BC
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E37BC#FFFFFF#000000##FFFFFF
##9E37BC1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#3B6AB9
Tritanopia (blue-blind)
#9D5176
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9e37bc;
/* rgb */ color: rgb(158, 55, 188);
/* oklch */ color: oklch(54.1% 0.209 317.5);
Tailwind
colors: {
  custom: {
    50: '#be77d1',
    500: '#9e37bc',
    950: '#000000',
  },
}
SCSS
$custom: #9e37bc;
$custom-light: #be77d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e37bc",
  "rgb": {
    "r": 158,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 286.466,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54149,
    "c": 0.20899,
    "h": 317.5
  },
  "luminance": 0.13632
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E37BC

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

Preview Lab → · Contrast checker → · Palette generator →

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