#9E2C8D#9E2C8D

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

Color values

HEX#9E2C8D
RGBrgb(158, 44, 141)
HSLhsl(309, 56%, 40%)
HSVhsv(309, 72%, 62%)
CMYKcmyk(0%, 72.2%, 10.8%, 38%)
CIE-LABlab(39.57, 56.91, -28.70)
CIE-LCHlch(39.57, 63.74, 333.24°)
OKLaboklab(50.32% 0.1656 -0.0784)
OKLCHoklch(50.32% 0.183 334.7)
XYZxyz(19.8092, 10.9953, 26.2731)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2C8D #2C9E3D
analogous
#762C9E #9E2C8D #9E2C54
triadic
#9E2C8D #8D9E2C #2C8D9E
tetradic
#9E2C8D #9E762C #2C9E3D #2C549E
square
#9E2C8D #9E762C #2C9E3D #2C549E
split-complementary
#9E2C8D #549E2C #2C9E76
monochromatic
#3E1138 #6E1F62 #9E2C8D #C93EB4 #D76EC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E2C8D#FFFFFF#000000##FFFFFF
##9E2C8D1.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)
#2B5290
Deuteranopia (green-blind)
#53638A
Tritanopia (blue-blind)
#A63559
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e2c8d;
/* rgb */ color: rgb(158, 44, 141);
/* oklch */ color: oklch(50.3% 0.183 334.7);
Tailwind
colors: {
  custom: {
    50: '#be70ae',
    500: '#9e2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #9e2c8d;
$custom-light: #be70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2c8d",
  "rgb": {
    "r": 158,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 308.947,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50324,
    "c": 0.18324,
    "h": 334.7
  },
  "luminance": 0.10994
}

Semantic roles & 50–950 ramp

primary
#9E2C8D
secondary
#68BE75
accent
#E05F48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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