#9E2B97#9E2B97

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

Color values

HEX#9E2B97
RGBrgb(158, 43, 151)
HSLhsl(304, 57%, 39%)
HSVhsv(304, 73%, 62%)
CMYKcmyk(0%, 72.8%, 4.4%, 38%)
CIE-LABlab(39.97, 58.85, -34.16)
CIE-LCHlch(39.97, 68.04, 329.87°)
OKLaboklab(50.78% 0.1673 -0.0942)
OKLCHoklch(50.78% 0.192 330.6)
XYZxyz(20.5503, 11.2328, 30.3580)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2B97 #2B9E32
analogous
#6C2B9E #9E2B97 #9E2B5E
triadic
#9E2B97 #979E2B #2B979E
tetradic
#9E2B97 #9E6C2B #2B9E32 #2B5E9E
square
#9E2B97 #9E6C2B #2B9E32 #2B5E9E
split-complementary
#9E2B97 #5E9E2B #2B9E6C
monochromatic
#3E113B #6E1E69 #9E2B97 #CA3CC1 #D76CD1

Accessibility & contrast

On white

6.47
#9E2B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9E2B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2B97
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2B97#FFFFFF#000000##FFFFFF
##9E2B971.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20549A
Deuteranopia (green-blind)
#4E6494
Tritanopia (blue-blind)
#A4395E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e2b97;
/* rgb */ color: rgb(158, 43, 151);
/* oklch */ color: oklch(50.8% 0.192 330.6);
Tailwind
colors: {
  custom: {
    50: '#be70b6',
    500: '#9e2b97',
    950: '#000000',
  },
}
SCSS
$custom: #9e2b97;
$custom-light: #be70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2b97",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 303.652,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50779,
    "c": 0.19196,
    "h": 330.6
  },
  "luminance": 0.11231
}

Semantic roles & 50–950 ramp

primary
#9E2B97
secondary
#67BE6C
accent
#E05147
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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