#9E2C8F#9E2C8F

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

Color values

HEX#9E2C8F
RGBrgb(158, 44, 143)
HSLhsl(308, 56%, 40%)
HSVhsv(308, 72%, 62%)
CMYKcmyk(0%, 72.2%, 9.5%, 38%)
CIE-LABlab(39.67, 57.22, -29.76)
CIE-LCHlch(39.67, 64.50, 332.52°)
OKLaboklab(50.43% 0.1658 -0.0815)
OKLCHoklch(50.43% 0.185 333.8)
XYZxyz(19.9593, 11.0553, 27.0640)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2C8F #2C9E3B
analogous
#742C9E #9E2C8F #9E2C56
triadic
#9E2C8F #8F9E2C #2C8F9E
tetradic
#9E2C8F #9E742C #2C9E3B #2C569E
square
#9E2C8F #9E742C #2C9E3B #2C569E
split-complementary
#9E2C8F #569E2C #2C9E74
monochromatic
#3E1138 #6E1F64 #9E2C8F #C93EB7 #D76EC9

Accessibility & contrast

On white

6.54
#9E2C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9E2C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2C8F
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2C8F#FFFFFF#000000##FFFFFF
##9E2C8F1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295392
Deuteranopia (green-blind)
#52638C
Tritanopia (blue-blind)
#A5365A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e2c8f;
/* rgb */ color: rgb(158, 44, 143);
/* oklch */ color: oklch(50.4% 0.185 333.8);
Tailwind
colors: {
  custom: {
    50: '#be70b0',
    500: '#9e2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #9e2c8f;
$custom-light: #be70b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2c8f",
  "rgb": {
    "r": 158,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 307.895,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5043,
    "c": 0.18473,
    "h": 333.8
  },
  "luminance": 0.11054
}

Semantic roles & 50–950 ramp

primary
#9E2C8F
secondary
#68BE73
accent
#E05C48
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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