#9E37C8#9E37C8

#9E37C8 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.220 H 314.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9E37C8
RGBrgb(158, 55, 200)
HSLhsl(283, 57%, 50%)
HSVhsv(283, 73%, 78%)
CMYKcmyk(21%, 72.5%, 0%, 21.6%)
CIE-LABlab(44.48, 63.43, -55.97)
CIE-LCHlch(44.48, 84.59, 318.58°)
OKLaboklab(54.95% 0.153 -0.1579)
OKLCHoklch(54.95% 0.22 314.1)
XYZxyz(25.8903, 14.1725, 56.0041)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E37C8 #61C837
analogous
#5637C8 #9E37C8 #C837A9
triadic
#9E37C8 #C89E37 #37C89E
tetradic
#9E37C8 #C85637 #61C837 #37A9C8
square
#9E37C8 #C85637 #61C837 #37A9C8
split-complementary
#9E37C8 #A9C837 #37C856
monochromatic
#521D68 #782A98 #9E37C8 #B567D5 #CD97E2

Accessibility & contrast

On white

5.48
#9E37C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9E37C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E37C8
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E37C8#FFFFFF#000000##FFFFFF
##9E37C81.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#2E6CC5
Tritanopia (blue-blind)
#9A567D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9e37c8;
/* rgb */ color: rgb(158, 55, 200);
/* oklch */ color: oklch(54.9% 0.220 314.1);
Tailwind
colors: {
  custom: {
    50: '#bf77d9',
    500: '#9e37c8',
    950: '#000000',
  },
}
SCSS
$custom: #9e37c8;
$custom-light: #bf77d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e37c8",
  "rgb": {
    "r": 158,
    "g": 55,
    "b": 200
  },
  "hsl": {
    "h": 282.621,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.5495,
    "c": 0.21985,
    "h": 314.1
  },
  "luminance": 0.14172
}

Semantic roles & 50–950 ramp

primary
#9E37C8
secondary
#A0CE8D
accent
#E04874
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9E37C8

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

Preview Lab → · Contrast checker → · Palette generator →

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