#9E2291#9E2291

#9E2291 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.197 H 332.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9E2291
RGBrgb(158, 34, 145)
HSLhsl(306, 65%, 38%)
HSVhsv(306, 78%, 62%)
CMYKcmyk(0%, 78.5%, 8.2%, 38%)
CIE-LABlab(38.65, 60.74, -32.59)
CIE-LCHlch(38.65, 68.93, 331.79°)
OKLaboklab(49.73% 0.1753 -0.0895)
OKLCHoklch(49.73% 0.197 332.9)
XYZxyz(19.7835, 10.4592, 27.7595)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2291 #229E2F
analogous
#6D229E #9E2291 #9E2253
triadic
#9E2291 #919E22 #22919E
tetradic
#9E2291 #9E6D22 #229E2F #22539E
square
#9E2291 #9E6D22 #229E2F #22539E
split-complementary
#9E2291 #539E22 #229E6D
monochromatic
#390C35 #6C1763 #9E2291 #D02DBF #DC5ECF

Accessibility & contrast

On white

6.79
#9E2291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9E2291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2291
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2291#FFFFFF#000000##FFFFFF
##9E22911.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5094
Deuteranopia (green-blind)
#4D618E
Tritanopia (blue-blind)
#A53058
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2291;
/* rgb */ color: rgb(158, 34, 145);
/* oklch */ color: oklch(49.7% 0.197 332.9);
Tailwind
colors: {
  custom: {
    50: '#be6cb1',
    500: '#9e2291',
    950: '#000000',
  },
}
SCSS
$custom: #9e2291;
$custom-light: #be6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2291",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 306.29,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49731,
    "c": 0.19686,
    "h": 332.9
  },
  "luminance": 0.10457
}

Semantic roles & 50–950 ramp

primary
#9E2291
secondary
#5BC165
accent
#E85240
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130811
muted
#827A80

Preview Lab

Preview with #9E2291

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

Preview Lab → · Contrast checker → · Palette generator →

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