#9E37DF#9E37DF

#9E37DF is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.6% C 0.241 H 308.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9E37DF
RGBrgb(158, 55, 223)
HSLhsl(277, 72%, 55%)
HSVhsv(277, 75%, 87%)
CMYKcmyk(29.1%, 75.3%, 0%, 12.5%)
CIE-LABlab(46.08, 68.17, -66.59)
CIE-LCHlch(46.08, 95.29, 315.67°)
OKLaboklab(56.59% 0.1492 -0.1891)
OKLCHoklch(56.59% 0.241 308.3)
XYZxyz(28.7832, 15.3297, 71.2403)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E37DF #78DF37
analogous
#4A37DF #9E37DF #DF37CC
triadic
#9E37DF #DF9E37 #37DF9E
tetradic
#9E37DF #DF4A37 #78DF37 #37CCDF
square
#9E37DF #DF4A37 #78DF37 #37CCDF
split-complementary
#9E37DF #CCDF37 #37DF4A
monochromatic
#5B1586 #7E1EBB #9E37DF #B86CE7 #D1A1F0

Accessibility & contrast

On white

5.17
#9E37DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9E37DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E37DF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E37DF#FFFFFF#000000##FFFFFF
##9E37DF1.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E4
Deuteranopia (green-blind)
#006EDC
Tritanopia (blue-blind)
#94608A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9e37df;
/* rgb */ color: rgb(158, 55, 223);
/* oklch */ color: oklch(56.6% 0.241 308.3);
Tailwind
colors: {
  custom: {
    50: '#c078ea',
    500: '#9e37df',
    950: '#000000',
  },
}
SCSS
$custom: #9e37df;
$custom-light: #c078ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9e37df",
  "rgb": {
    "r": 158,
    "g": 55,
    "b": 223
  },
  "hsl": {
    "h": 276.786,
    "s": 72.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56589,
    "c": 0.24089,
    "h": 308.3
  },
  "luminance": 0.15329
}

Semantic roles & 50–950 ramp

primary
#9E37DF
secondary
#B1DC95
accent
#EF397F
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9E37DF

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

Preview Lab → · Contrast checker → · Palette generator →

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