#9E2B8D#9E2B8D

#9E2B8D is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.2% C 0.184 H 334.6°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9E2B8D
RGBrgb(158, 43, 141)
HSLhsl(309, 57%, 39%)
HSVhsv(309, 73%, 62%)
CMYKcmyk(0%, 72.8%, 10.8%, 38%)
CIE-LABlab(39.45, 57.26, -28.89)
CIE-LCHlch(39.45, 64.14, 333.23°)
OKLaboklab(50.24% 0.1667 -0.079)
OKLCHoklch(50.24% 0.184 334.6)
XYZxyz(19.7724, 10.9217, 26.2609)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2B8D #2B9E3C
analogous
#762B9E #9E2B8D #9E2B53
triadic
#9E2B8D #8D9E2B #2B8D9E
tetradic
#9E2B8D #9E762B #2B9E3C #2B539E
square
#9E2B8D #9E762B #2B9E3C #2B539E
split-complementary
#9E2B8D #539E2B #2B9E76
monochromatic
#3E1137 #6E1E62 #9E2B8D #CA3CB5 #D76CC7

Accessibility & contrast

On white

6.60
#9E2B8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9E2B8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2B8D
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2B8D#FFFFFF#000000##FFFFFF
##9E2B8D1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5290
Deuteranopia (green-blind)
#53638A
Tritanopia (blue-blind)
#A63559
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e2b8d;
/* rgb */ color: rgb(158, 43, 141);
/* oklch */ color: oklch(50.2% 0.184 334.6);
Tailwind
colors: {
  custom: {
    50: '#be70ae',
    500: '#9e2b8d',
    950: '#000000',
  },
}
SCSS
$custom: #9e2b8d;
$custom-light: #be70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2b8d",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 308.87,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50235,
    "c": 0.18442,
    "h": 334.6
  },
  "luminance": 0.1092
}

Semantic roles & 50–950 ramp

primary
#9E2B8D
secondary
#67BE74
accent
#E05E47
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E2B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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