#9E37DA#9E37DA

#9E37DA is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.2% C 0.236 H 309.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9E37DA
RGBrgb(158, 55, 218)
HSLhsl(278, 69%, 54%)
HSVhsv(278, 75%, 85%)
CMYKcmyk(27.5%, 74.8%, 0%, 14.5%)
CIE-LABlab(45.72, 67.12, -64.32)
CIE-LCHlch(45.72, 92.97, 316.22°)
OKLaboklab(56.22% 0.1502 -0.1824)
OKLCHoklch(56.22% 0.236 309.5)
XYZxyz(28.1191, 15.0640, 67.7424)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E37DA #73DA37
analogous
#4C37DA #9E37DA #DA37C4
triadic
#9E37DA #DA9E37 #37DA9E
tetradic
#9E37DA #DA4C37 #73DA37 #37C4DA
square
#9E37DA #DA4C37 #73DA37 #37C4DA
split-complementary
#9E37DA #C4DA37 #37DA4C
monochromatic
#59187F #7D21B3 #9E37DA #B76BE4 #D09EED

Accessibility & contrast

On white

5.23
#9E37DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9E37DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E37DA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E37DA#FFFFFF#000000##FFFFFF
##9E37DA1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#006ED7
Tritanopia (blue-blind)
#955E87
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9e37da;
/* rgb */ color: rgb(158, 55, 218);
/* oklch */ color: oklch(56.2% 0.236 309.5);
Tailwind
colors: {
  custom: {
    50: '#c078e6',
    500: '#9e37da',
    950: '#000000',
  },
}
SCSS
$custom: #9e37da;
$custom-light: #c078e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e37da",
  "rgb": {
    "r": 158,
    "g": 55,
    "b": 218
  },
  "hsl": {
    "h": 277.914,
    "s": 68.776,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56222,
    "c": 0.23629,
    "h": 309.5
  },
  "luminance": 0.15063
}

Semantic roles & 50–950 ramp

primary
#9E37DA
secondary
#ADD993
accent
#EC3C7D
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9E37DA

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

Preview Lab → · Contrast checker → · Palette generator →

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