#9E2A97#9E2A97

#9E2A97 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.193 H 330.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9E2A97
RGBrgb(158, 42, 151)
HSLhsl(304, 58%, 39%)
HSVhsv(304, 73%, 62%)
CMYKcmyk(0%, 73.4%, 4.4%, 38%)
CIE-LABlab(39.85, 59.19, -34.35)
CIE-LCHlch(39.85, 68.43, 329.87°)
OKLaboklab(50.69% 0.1683 -0.0947)
OKLCHoklch(50.69% 0.193 330.6)
XYZxyz(20.5144, 11.1610, 30.3460)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A97 #2A9E31
analogous
#6B2A9E #9E2A97 #9E2A5D
triadic
#9E2A97 #979E2A #2A979E
tetradic
#9E2A97 #9E6B2A #2A9E31 #2A5D9E
square
#9E2A97 #9E6B2A #2A9E31 #2A5D9E
split-complementary
#9E2A97 #5D9E2A #2A9E6B
monochromatic
#3D103B #6E1D69 #9E2A97 #CB3AC2 #D86BD1

Accessibility & contrast

On white

6.50
#9E2A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9E2A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2A97
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A97#FFFFFF#000000##FFFFFF
##9E2A971.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549A
Deuteranopia (green-blind)
#4D6394
Tritanopia (blue-blind)
#A4395E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e2a97;
/* rgb */ color: rgb(158, 42, 151);
/* oklch */ color: oklch(50.7% 0.193 330.6);
Tailwind
colors: {
  custom: {
    50: '#be70b6',
    500: '#9e2a97',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a97;
$custom-light: #be70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a97",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 303.621,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50694,
    "c": 0.19307,
    "h": 330.6
  },
  "luminance": 0.11159
}

Semantic roles & 50–950 ramp

primary
#9E2A97
secondary
#66BE6B
accent
#E15047
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2A97

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

Preview Lab → · Contrast checker → · Palette generator →

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