#9E37D7#9E37D7

#9E37D7 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 56.0% C 0.234 H 310.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9E37D7
RGBrgb(158, 55, 215)
HSLhsl(279, 67%, 53%)
HSVhsv(279, 74%, 84%)
CMYKcmyk(26.5%, 74.4%, 0%, 15.7%)
CIE-LABlab(45.51, 66.50, -62.95)
CIE-LCHlch(45.51, 91.57, 316.57°)
OKLaboklab(56% 0.1507 -0.1784)
OKLCHoklch(56% 0.234 310.2)
XYZxyz(27.7301, 14.9084, 65.6936)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E37D7 #70D737
analogous
#4E37D7 #9E37D7 #D737C0
triadic
#9E37D7 #D79E37 #37D79E
tetradic
#9E37D7 #D74E37 #70D737 #37C0D7
square
#9E37D7 #D74E37 #70D737 #37C0D7
split-complementary
#9E37D7 #C0D737 #37D74E
monochromatic
#58197B #7C23AE #9E37D7 #B76AE1 #CF9DEB

Accessibility & contrast

On white

5.27
#9E37D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9E37D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E37D7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E37D7#FFFFFF#000000##FFFFFF
##9E37D71.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DB
Deuteranopia (green-blind)
#0C6DD4
Tritanopia (blue-blind)
#965D85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9e37d7;
/* rgb */ color: rgb(158, 55, 215);
/* oklch */ color: oklch(56.0% 0.234 310.2);
Tailwind
colors: {
  custom: {
    50: '#c078e4',
    500: '#9e37d7',
    950: '#000000',
  },
}
SCSS
$custom: #9e37d7;
$custom-light: #c078e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e37d7",
  "rgb": {
    "r": 158,
    "g": 55,
    "b": 215
  },
  "hsl": {
    "h": 278.625,
    "s": 66.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56004,
    "c": 0.23354,
    "h": 310.2
  },
  "luminance": 0.14908
}

Semantic roles & 50–950 ramp

primary
#9E37D7
secondary
#ABD792
accent
#EA3E7B
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9E37D7

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

Preview Lab → · Contrast checker → · Palette generator →

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