#9E2D93#9E2D93

#9E2D93 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.7% C 0.187 H 332.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9E2D93
RGBrgb(158, 45, 147)
HSLhsl(306, 56%, 40%)
HSVhsv(306, 72%, 62%)
CMYKcmyk(0%, 71.5%, 7%, 38%)
CIE-LABlab(40.01, 57.50, -31.67)
CIE-LCHlch(40.01, 65.65, 331.15°)
OKLaboklab(50.74% 0.165 -0.087)
OKLCHoklch(50.74% 0.187 332.2)
XYZxyz(20.3054, 11.2541, 28.7009)
Luminance0.1125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2D93 #2D9E38
analogous
#712D9E #9E2D93 #9E2D5A
triadic
#9E2D93 #939E2D #2D939E
tetradic
#9E2D93 #9E712D #2D9E38 #2D5A9E
square
#9E2D93 #9E712D #2D9E38 #2D5A9E
split-complementary
#9E2D93 #5A9E2D #2D9E71
monochromatic
#3F123A #6E1F67 #9E2D93 #C940BB #D66FCC

Accessibility & contrast

On white

6.46
#9E2D93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9E2D93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2D93
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2D93#FFFFFF#000000##FFFFFF
##9E2D931.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275496
Deuteranopia (green-blind)
#516490
Tritanopia (blue-blind)
#A5395D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e2d93;
/* rgb */ color: rgb(158, 45, 147);
/* oklch */ color: oklch(50.7% 0.187 332.2);
Tailwind
colors: {
  custom: {
    50: '#be71b3',
    500: '#9e2d93',
    950: '#000000',
  },
}
SCSS
$custom: #9e2d93;
$custom-light: #be71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2d93",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 305.841,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50736,
    "c": 0.18657,
    "h": 332.2
  },
  "luminance": 0.11252
}

Semantic roles & 50–950 ramp

primary
#9E2D93
secondary
#69BD72
accent
#DF5749
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2D93

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

Preview Lab → · Contrast checker → · Palette generator →

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