#9E2EA1#9E2EA1

#9E2EA1 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.6% C 0.196 H 326.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9E2EA1
RGBrgb(158, 46, 161)
HSLhsl(298, 56%, 41%)
HSVhsv(298, 71%, 63%)
CMYKcmyk(1.9%, 71.4%, 0%, 36.9%)
CIE-LABlab(40.89, 59.47, -38.72)
CIE-LCHlch(40.89, 70.97, 326.93°)
OKLaboklab(51.62% 0.1645 -0.1074)
OKLCHoklch(51.62% 0.196 326.8)
XYZxyz(21.5102, 11.7978, 34.8555)
Luminance0.1180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2EA1 #31A12E
analogous
#642EA1 #9E2EA1 #A12E6A
triadic
#9E2EA1 #A19E2E #2EA19E
tetradic
#9E2EA1 #A1642E #31A12E #2E6AA1
square
#9E2EA1 #A1642E #31A12E #2E6AA1
split-complementary
#9E2EA1 #6AA12E #2EA164
monochromatic
#411342 #6F2071 #9E2EA1 #C643C9 #D473D7

Accessibility & contrast

On white

6.25
#9E2EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9E2EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2EA1
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2EA1#FFFFFF#000000##FFFFFF
##9E2EA11.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1657A4
Deuteranopia (green-blind)
#4A659E
Tritanopia (blue-blind)
#A24065
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e2ea1;
/* rgb */ color: rgb(158, 46, 161);
/* oklch */ color: oklch(51.6% 0.196 326.8);
Tailwind
colors: {
  custom: {
    50: '#be72bd',
    500: '#9e2ea1',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ea1;
$custom-light: #be72bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ea1",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 298.435,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5162,
    "c": 0.19643,
    "h": 326.8
  },
  "luminance": 0.11796
}

Semantic roles & 50–950 ramp

primary
#9E2EA1
secondary
#6EBE6C
accent
#DF494D
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9E2EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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