#9E3DCE#9E3DCE

#9E3DCE is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.0% C 0.218 H 312.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9E3DCE
RGBrgb(158, 61, 206)
HSLhsl(280, 60%, 52%)
HSVhsv(280, 70%, 81%)
CMYKcmyk(23.3%, 70.4%, 0%, 19.2%)
CIE-LABlab(45.72, 62.27, -57.44)
CIE-LCHlch(45.72, 84.71, 317.31°)
OKLaboklab(55.96% 0.1463 -0.1622)
OKLCHoklch(55.96% 0.218 312)
XYZxyz(26.9078, 15.0635, 59.8707)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3DCE #6DCE3D
analogous
#563DCE #9E3DCE #CE3DB6
triadic
#9E3DCE #CE9E3D #3DCE9E
tetradic
#9E3DCE #CE563D #6DCE3D #3DB6CE
square
#9E3DCE #CE563D #6DCE3D #3DB6CE
split-complementary
#9E3DCE #B6CE3D #3DCE56
monochromatic
#571D73 #7C29A4 #9E3DCE #B66EDA #CF9FE7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E3DCE#FFFFFF#000000##FFFFFF
##9E3DCE1.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)
#0068D2
Deuteranopia (green-blind)
#2C6ECB
Tritanopia (blue-blind)
#985C82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9e3dce;
/* rgb */ color: rgb(158, 61, 206);
/* oklch */ color: oklch(56.0% 0.218 312.0);
Tailwind
colors: {
  custom: {
    50: '#bf7bde',
    500: '#9e3dce',
    950: '#000000',
  },
}
SCSS
$custom: #9e3dce;
$custom-light: #bf7bde;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3dce",
  "rgb": {
    "r": 158,
    "g": 61,
    "b": 206
  },
  "hsl": {
    "h": 280.138,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5596,
    "c": 0.21848,
    "h": 312
  },
  "luminance": 0.15063
}

Semantic roles & 50–950 ramp

primary
#9E3DCE
secondary
#A9D394
accent
#E34579
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E3DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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