#9E3EC2#9E3EC2

#9E3EC2 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.3% C 0.206 H 315.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9E3EC2
RGBrgb(158, 62, 194)
HSLhsl(284, 52%, 50%)
HSVhsv(284, 68%, 76%)
CMYKcmyk(18.6%, 68%, 0%, 23.9%)
CIE-LABlab(45.10, 59.39, -51.49)
CIE-LCHlch(45.10, 78.60, 319.07°)
OKLaboklab(55.27% 0.1464 -0.1448)
OKLCHoklch(55.27% 0.206 315.3)
XYZxyz(25.5592, 14.6103, 52.5022)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3EC2 #62C23E
analogous
#5C3EC2 #9E3EC2 #C23EA4
triadic
#9E3EC2 #C29E3E #3EC29E
tetradic
#9E3EC2 #C25C3E #62C23E #3EA4C2
square
#9E3EC2 #C25C3E #62C23E #3EA4C2
split-complementary
#9E3EC2 #A4C23E #3EC25C
monochromatic
#532066 #782F94 #9E3EC2 #B56DD1 #CD9BDF

Accessibility & contrast

On white

5.35
#9E3EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9E3EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3EC2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3EC2#FFFFFF#000000##FFFFFF
##9E3EC21.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#3B6DBF
Tritanopia (blue-blind)
#9B587B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9e3ec2;
/* rgb */ color: rgb(158, 62, 194);
/* oklch */ color: oklch(55.3% 0.206 315.3);
Tailwind
colors: {
  custom: {
    50: '#be7bd5',
    500: '#9e3ec2',
    950: '#000000',
  },
}
SCSS
$custom: #9e3ec2;
$custom-light: #be7bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3ec2",
  "rgb": {
    "r": 158,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 283.636,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55266,
    "c": 0.20593,
    "h": 315.3
  },
  "luminance": 0.14609
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E3EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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