#9E3DC2#9E3DC2

#9E3DC2 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.2% C 0.207 H 315.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9E3DC2
RGBrgb(158, 61, 194)
HSLhsl(284, 52%, 50%)
HSVhsv(284, 69%, 76%)
CMYKcmyk(18.6%, 68.6%, 0%, 23.9%)
CIE-LABlab(44.95, 59.81, -51.74)
CIE-LCHlch(44.95, 79.08, 319.14°)
OKLaboklab(55.16% 0.1475 -0.1455)
OKLCHoklch(55.16% 0.207 315.4)
XYZxyz(25.5053, 14.5026, 52.4842)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3DC2 #61C23D
analogous
#5B3DC2 #9E3DC2 #C23DA4
triadic
#9E3DC2 #C29E3D #3DC29E
tetradic
#9E3DC2 #C25B3D #61C23D #3DA4C2
square
#9E3DC2 #C25B3D #61C23D #3DA4C2
split-complementary
#9E3DC2 #A4C23D #3DC25B
monochromatic
#522065 #782E93 #9E3DC2 #B56CD1 #CD9ADF

Accessibility & contrast

On white

5.38
#9E3DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9E3DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3DC2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3DC2#FFFFFF#000000##FFFFFF
##9E3DC21.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#3A6DBF
Tritanopia (blue-blind)
#9B577B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9e3dc2;
/* rgb */ color: rgb(158, 61, 194);
/* oklch */ color: oklch(55.2% 0.207 315.4);
Tailwind
colors: {
  custom: {
    50: '#be7ad5',
    500: '#9e3dc2',
    950: '#000000',
  },
}
SCSS
$custom: #9e3dc2;
$custom-light: #be7ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3dc2",
  "rgb": {
    "r": 158,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 283.759,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.55158,
    "c": 0.20718,
    "h": 315.4
  },
  "luminance": 0.14502
}

Semantic roles & 50–950 ramp

primary
#9E3DC2
secondary
#A0CB90
accent
#DC4C73
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9E3DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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