#9E2492#9E2492

#9E2492 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.196 H 332.6°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9E2492
RGBrgb(158, 36, 146)
HSLhsl(306, 63%, 38%)
HSVhsv(306, 77%, 62%)
CMYKcmyk(0%, 77.2%, 7.6%, 38%)
CIE-LABlab(38.91, 60.31, -32.79)
CIE-LCHlch(38.91, 68.64, 331.47°)
OKLaboklab(49.93% 0.1736 -0.0901)
OKLCHoklch(49.93% 0.196 332.6)
XYZxyz(19.9198, 10.6079, 28.1870)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2492 #249E30
analogous
#6D249E #9E2492 #9E2455
triadic
#9E2492 #929E24 #24929E
tetradic
#9E2492 #9E6D24 #249E30 #24559E
square
#9E2492 #9E6D24 #249E30 #24559E
split-complementary
#9E2492 #559E24 #249E6D
monochromatic
#3A0D36 #6C1964 #9E2492 #D02FC0 #DB61CF

Accessibility & contrast

On white

6.73
#9E2492 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9E2492 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2492
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2492#FFFFFF#000000##FFFFFF
##9E24921.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5195
Deuteranopia (green-blind)
#4E628F
Tritanopia (blue-blind)
#A5325A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2492;
/* rgb */ color: rgb(158, 36, 146);
/* oklch */ color: oklch(49.9% 0.196 332.6);
Tailwind
colors: {
  custom: {
    50: '#be6db2',
    500: '#9e2492',
    950: '#000000',
  },
}
SCSS
$custom: #9e2492;
$custom-light: #be6db2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2492",
  "rgb": {
    "r": 158,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 305.902,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49933,
    "c": 0.19564,
    "h": 332.6
  },
  "luminance": 0.10606
}

Semantic roles & 50–950 ramp

primary
#9E2492
secondary
#5EC067
accent
#E65242
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2492

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

Preview Lab → · Contrast checker → · Palette generator →

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