#9E2A92#9E2A92

#9E2A92 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.189 H 332.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9E2A92
RGBrgb(158, 42, 146)
HSLhsl(306, 58%, 39%)
HSVhsv(306, 73%, 62%)
CMYKcmyk(0%, 73.4%, 7.6%, 38%)
CIE-LABlab(39.58, 58.39, -31.73)
CIE-LCHlch(39.58, 66.45, 331.48°)
OKLaboklab(50.42% 0.168 -0.0871)
OKLCHoklch(50.42% 0.189 332.6)
XYZxyz(20.1169, 11.0020, 28.2526)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A92 #2A9E36
analogous
#702A9E #9E2A92 #9E2A58
triadic
#9E2A92 #929E2A #2A929E
tetradic
#9E2A92 #9E702A #2A9E36 #2A589E
square
#9E2A92 #9E702A #2A9E36 #2A589E
split-complementary
#9E2A92 #589E2A #2A9E70
monochromatic
#3D1039 #6E1D65 #9E2A92 #CB3ABC #D86BCC

Accessibility & contrast

On white

6.56
#9E2A92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9E2A92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2A92
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A92#FFFFFF#000000##FFFFFF
##9E2A921.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245395
Deuteranopia (green-blind)
#50638F
Tritanopia (blue-blind)
#A5365B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e2a92;
/* rgb */ color: rgb(158, 42, 146);
/* oklch */ color: oklch(50.4% 0.189 332.6);
Tailwind
colors: {
  custom: {
    50: '#be6fb2',
    500: '#9e2a92',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a92;
$custom-light: #be6fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a92",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 306.207,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50416,
    "c": 0.18928,
    "h": 332.6
  },
  "luminance": 0.11
}

Semantic roles & 50–950 ramp

primary
#9E2A92
secondary
#66BE6F
accent
#E15747
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2A92

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

Preview Lab → · Contrast checker → · Palette generator →

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