#9E2EA5#9E2EA5

#9E2EA5 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.9% C 0.200 H 325.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9E2EA5
RGBrgb(158, 46, 165)
HSLhsl(296, 56%, 41%)
HSVhsv(296, 72%, 65%)
CMYKcmyk(4.2%, 72.1%, 0%, 35.3%)
CIE-LABlab(41.12, 60.17, -40.75)
CIE-LCHlch(41.12, 72.67, 325.89°)
OKLaboklab(51.86% 0.1644 -0.1133)
OKLCHoklch(51.86% 0.2 325.4)
XYZxyz(21.8686, 11.9411, 36.7430)
Luminance0.1194 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2EA5 #35A52E
analogous
#632EA5 #9E2EA5 #A52E71
triadic
#9E2EA5 #A59E2E #2EA59E
tetradic
#9E2EA5 #A5632E #35A52E #2E71A5
square
#9E2EA5 #A5632E #35A52E #2E71A5
split-complementary
#9E2EA5 #71A52E #2EA563
monochromatic
#421345 #702175 #9E2EA5 #C345CB #D375D8

Accessibility & contrast

On white

6.20
#9E2EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9E2EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2EA5
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2EA5#FFFFFF#000000##FFFFFF
##9E2EA51.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C58A8
Deuteranopia (green-blind)
#4766A2
Tritanopia (blue-blind)
#A24267
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e2ea5;
/* rgb */ color: rgb(158, 46, 165);
/* oklch */ color: oklch(51.9% 0.200 325.4);
Tailwind
colors: {
  custom: {
    50: '#be72c0',
    500: '#9e2ea5',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ea5;
$custom-light: #be72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ea5",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 296.471,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51859,
    "c": 0.19969,
    "h": 325.4
  },
  "luminance": 0.1194
}

Semantic roles & 50–950 ramp

primary
#9E2EA5
secondary
#73C06F
accent
#E04851
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9E2EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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