#9E2D8F#9E2D8F

#9E2D8F is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.184 H 333.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9E2D8F
RGBrgb(158, 45, 143)
HSLhsl(308, 56%, 40%)
HSVhsv(308, 72%, 62%)
CMYKcmyk(0%, 71.5%, 9.5%, 38%)
CIE-LABlab(39.80, 56.86, -29.56)
CIE-LCHlch(39.80, 64.09, 332.53°)
OKLaboklab(50.52% 0.1647 -0.0809)
OKLCHoklch(50.52% 0.184 333.8)
XYZxyz(19.9970, 11.1307, 27.0765)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2D8F #2D9E3C
analogous
#752D9E #9E2D8F #9E2D56
triadic
#9E2D8F #8F9E2D #2D8F9E
tetradic
#9E2D8F #9E752D #2D9E3C #2D569E
square
#9E2D8F #9E752D #2D9E3C #2D569E
split-complementary
#9E2D8F #569E2D #2D9E75
monochromatic
#3F1239 #6E1F64 #9E2D8F #C940B6 #D66FC8

Accessibility & contrast

On white

6.51
#9E2D8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2D8F
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2D8F#FFFFFF#000000##FFFFFF
##9E2D8F1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5392
Deuteranopia (green-blind)
#53648C
Tritanopia (blue-blind)
#A5375A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e2d8f;
/* rgb */ color: rgb(158, 45, 143);
/* oklch */ color: oklch(50.5% 0.184 333.8);
Tailwind
colors: {
  custom: {
    50: '#be71b0',
    500: '#9e2d8f',
    950: '#000000',
  },
}
SCSS
$custom: #9e2d8f;
$custom-light: #be71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2d8f",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 307.965,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50521,
    "c": 0.18354,
    "h": 333.8
  },
  "luminance": 0.11129
}

Semantic roles & 50–950 ramp

primary
#9E2D8F
secondary
#69BD75
accent
#DF5D49
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E2D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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