#9E3EA2#9E3EA2

#9E3EA2 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.3% C 0.176 H 326.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#9E3EA2
RGBrgb(158, 62, 162)
HSLhsl(298, 45%, 44%)
HSVhsv(298, 62%, 64%)
CMYKcmyk(2.5%, 61.7%, 0%, 36.5%)
CIE-LABlab(43.25, 53.21, -35.59)
CIE-LCHlch(43.25, 64.02, 326.22°)
OKLaboklab(53.34% 0.1465 -0.0985)
OKLCHoklch(53.34% 0.176 326.1)
XYZxyz(22.3443, 13.3243, 35.5704)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3EA2 #42A23E
analogous
#6C3EA2 #9E3EA2 #A23E74
triadic
#9E3EA2 #A29E3E #3EA29E
tetradic
#9E3EA2 #A26C3E #42A23E #3E74A2
square
#9E3EA2 #A26C3E #42A23E #3E74A2
split-complementary
#9E3EA2 #74A23E #3EA26C
monochromatic
#481C49 #732D76 #9E3EA2 #BD5CC1 #CF89D2

Accessibility & contrast

On white

5.73
#9E3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9E3EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3EA2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3EA2#FFFFFF#000000##FFFFFF
##9E3EA21.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5EA5
Deuteranopia (green-blind)
#526A9F
Tritanopia (blue-blind)
#A24C6A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9e3ea2;
/* rgb */ color: rgb(158, 62, 162);
/* oklch */ color: oklch(53.3% 0.176 326.1);
Tailwind
colors: {
  custom: {
    50: '#bd7abe',
    500: '#9e3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #9e3ea2;
$custom-light: #bd7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3ea2",
  "rgb": {
    "r": 158,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 297.6,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53338,
    "c": 0.17648,
    "h": 326.1
  },
  "luminance": 0.13323
}

Semantic roles & 50–950 ramp

primary
#9E3EA2
secondary
#82BC80
accent
#D45359
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9E3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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