#9E2C92#9E2C92

#9E2C92 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.187 H 332.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9E2C92
RGBrgb(158, 44, 146)
HSLhsl(306, 56%, 40%)
HSVhsv(306, 72%, 62%)
CMYKcmyk(0%, 72.2%, 7.6%, 38%)
CIE-LABlab(39.83, 57.70, -31.35)
CIE-LCHlch(39.83, 65.66, 331.48°)
OKLaboklab(50.59% 0.166 -0.086)
OKLCHoklch(50.59% 0.187 332.6)
XYZxyz(20.1896, 11.1474, 28.2769)
Luminance0.1115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2C92 #2C9E38
analogous
#712C9E #9E2C92 #9E2C59
triadic
#9E2C92 #929E2C #2C929E
tetradic
#9E2C92 #9E712C #2C9E38 #2C599E
square
#9E2C92 #9E712C #2C9E38 #2C599E
split-complementary
#9E2C92 #599E2C #2C9E71
monochromatic
#3E113A #6E1F66 #9E2C92 #C93EBB #D76ECC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E2C92#FFFFFF#000000##FFFFFF
##9E2C921.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)
#265395
Deuteranopia (green-blind)
#51648F
Tritanopia (blue-blind)
#A5385C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e2c92;
/* rgb */ color: rgb(158, 44, 146);
/* oklch */ color: oklch(50.6% 0.187 332.6);
Tailwind
colors: {
  custom: {
    50: '#be70b2',
    500: '#9e2c92',
    950: '#000000',
  },
}
SCSS
$custom: #9e2c92;
$custom-light: #be70b2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2c92",
  "rgb": {
    "r": 158,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 306.316,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50591,
    "c": 0.18699,
    "h": 332.6
  },
  "luminance": 0.11146
}

Semantic roles & 50–950 ramp

primary
#9E2C92
secondary
#68BE71
accent
#E05848
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2C92

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

Preview Lab → · Contrast checker → · Palette generator →

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