#9E37E0#9E37E0

#9E37E0 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.7% C 0.242 H 308.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9E37E0
RGBrgb(158, 55, 224)
HSLhsl(277, 73%, 55%)
HSVhsv(277, 75%, 88%)
CMYKcmyk(29.5%, 75.4%, 0%, 12.2%)
CIE-LABlab(46.16, 68.38, -67.04)
CIE-LCHlch(46.16, 95.76, 315.57°)
OKLaboklab(56.66% 0.149 -0.1904)
OKLCHoklch(56.66% 0.242 308)
XYZxyz(28.9185, 15.3837, 71.9525)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E37E0 #79E037
analogous
#4A37E0 #9E37E0 #E037CE
triadic
#9E37E0 #E09E37 #37E09E
tetradic
#9E37E0 #E04A37 #79E037 #37CEE0
square
#9E37E0 #E04A37 #79E037 #37CEE0
split-complementary
#9E37E0 #CEE037 #37E04A
monochromatic
#5B1588 #7E1DBD #9E37E0 #B86CE8 #D1A1F0

Accessibility & contrast

On white

5.15
#9E37E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9E37E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E37E0
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E37E0#FFFFFF#000000##FFFFFF
##9E37E01.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE5
Deuteranopia (green-blind)
#006EDD
Tritanopia (blue-blind)
#93618A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9e37e0;
/* rgb */ color: rgb(158, 55, 224);
/* oklch */ color: oklch(56.7% 0.242 308.0);
Tailwind
colors: {
  custom: {
    50: '#c078eb',
    500: '#9e37e0',
    950: '#000000',
  },
}
SCSS
$custom: #9e37e0;
$custom-light: #c078eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e37e0",
  "rgb": {
    "r": 158,
    "g": 55,
    "b": 224
  },
  "hsl": {
    "h": 276.568,
    "s": 73.16,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56663,
    "c": 0.2418,
    "h": 308
  },
  "luminance": 0.15383
}

Semantic roles & 50–950 ramp

primary
#9E37E0
secondary
#B2DD96
accent
#F03880
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9E37E0

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

Preview Lab → · Contrast checker → · Palette generator →

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