#9E3BB7#9E3BB7

#9E3BB7 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.2% C 0.200 H 318.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9E3BB7
RGBrgb(158, 59, 183)
HSLhsl(288, 51%, 47%)
HSVhsv(288, 68%, 72%)
CMYKcmyk(13.7%, 67.8%, 0%, 28.2%)
CIE-LABlab(43.97, 58.46, -46.87)
CIE-LCHlch(43.97, 74.93, 321.28°)
OKLaboklab(54.24% 0.1503 -0.1313)
OKLCHoklch(54.24% 0.2 318.9)
XYZxyz(24.2106, 13.8170, 46.1822)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3BB7 #54B73B
analogous
#603BB7 #9E3BB7 #B73B92
triadic
#9E3BB7 #B79E3B #3BB79E
tetradic
#9E3BB7 #B7603B #54B73B #3B92B7
square
#9E3BB7 #B7603B #54B73B #3B92B7
split-complementary
#9E3BB7 #92B73B #3BB760
monochromatic
#4E1D5A #762C89 #9E3BB7 #B763CD #CC91DC

Accessibility & contrast

On white

5.58
#9E3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9E3BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3BB7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3BB7#FFFFFF#000000##FFFFFF
##9E3BB71.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0461BB
Deuteranopia (green-blind)
#426BB4
Tritanopia (blue-blind)
#9E5274
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9e3bb7;
/* rgb */ color: rgb(158, 59, 183);
/* oklch */ color: oklch(54.2% 0.200 318.9);
Tailwind
colors: {
  custom: {
    50: '#be79cd',
    500: '#9e3bb7',
    950: '#000000',
  },
}
SCSS
$custom: #9e3bb7;
$custom-light: #be79cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3bb7",
  "rgb": {
    "r": 158,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 287.903,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54242,
    "c": 0.19952,
    "h": 318.9
  },
  "luminance": 0.13816
}

Semantic roles & 50–950 ramp

primary
#9E3BB7
secondary
#94C687
accent
#DB4D6A
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #9E3BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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