#9E2292#9E2292

#9E2292 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.198 H 332.6°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9E2292
RGBrgb(158, 34, 146)
HSLhsl(306, 65%, 38%)
HSVhsv(306, 78%, 62%)
CMYKcmyk(0%, 78.5%, 7.6%, 38%)
CIE-LABlab(38.71, 60.89, -33.11)
CIE-LCHlch(38.71, 69.31, 331.46°)
OKLaboklab(49.79% 0.1753 -0.0911)
OKLCHoklch(49.79% 0.198 332.6)
XYZxyz(19.8610, 10.4902, 28.1673)
Luminance0.1049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2292 #229E2E
analogous
#6C229E #9E2292 #9E2254
triadic
#9E2292 #929E22 #22929E
tetradic
#9E2292 #9E6C22 #229E2E #22549E
square
#9E2292 #9E6C22 #229E2E #22549E
split-complementary
#9E2292 #549E22 #229E6C
monochromatic
#390C35 #6C1763 #9E2292 #D02DC1 #DC5ED0

Accessibility & contrast

On white

6.78
#9E2292 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9E2292 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2292
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2292#FFFFFF#000000##FFFFFF
##9E22921.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195095
Deuteranopia (green-blind)
#4D618F
Tritanopia (blue-blind)
#A53159
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2292;
/* rgb */ color: rgb(158, 34, 146);
/* oklch */ color: oklch(49.8% 0.198 332.6);
Tailwind
colors: {
  custom: {
    50: '#be6cb2',
    500: '#9e2292',
    950: '#000000',
  },
}
SCSS
$custom: #9e2292;
$custom-light: #be6cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2292",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 305.806,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49788,
    "c": 0.19758,
    "h": 332.6
  },
  "luminance": 0.10488
}

Semantic roles & 50–950 ramp

primary
#9E2292
secondary
#5BC165
accent
#E85040
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E2292

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

Preview Lab → · Contrast checker → · Palette generator →

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