#9E2B95#9E2B95

#9E2B95 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.190 H 331.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#9E2B95
RGBrgb(158, 43, 149)
HSLhsl(305, 57%, 39%)
HSVhsv(305, 73%, 62%)
CMYKcmyk(0%, 72.8%, 5.7%, 38%)
CIE-LABlab(39.86, 58.52, -33.11)
CIE-LCHlch(39.86, 67.24, 330.50°)
OKLaboklab(50.67% 0.1672 -0.0911)
OKLCHoklch(50.67% 0.19 331.4)
XYZxyz(20.3892, 11.1684, 29.5098)
Luminance0.1117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2B95 #2B9E34
analogous
#6E2B9E #9E2B95 #9E2B5B
triadic
#9E2B95 #959E2B #2B959E
tetradic
#9E2B95 #9E6E2B #2B9E34 #2B5B9E
square
#9E2B95 #9E6E2B #2B9E34 #2B5B9E
split-complementary
#9E2B95 #5B9E2B #2B9E6E
monochromatic
#3E113A #6E1E68 #9E2B95 #CA3CBF #D76CCF

Accessibility & contrast

On white

6.49
#9E2B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2B95
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2B95#FFFFFF#000000##FFFFFF
##9E2B951.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225498
Deuteranopia (green-blind)
#4F6492
Tritanopia (blue-blind)
#A4385D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e2b95;
/* rgb */ color: rgb(158, 43, 149);
/* oklch */ color: oklch(50.7% 0.190 331.4);
Tailwind
colors: {
  custom: {
    50: '#be70b4',
    500: '#9e2b95',
    950: '#000000',
  },
}
SCSS
$custom: #9e2b95;
$custom-light: #be70b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2b95",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 304.696,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50668,
    "c": 0.19042,
    "h": 331.4
  },
  "luminance": 0.11167
}

Semantic roles & 50–950 ramp

primary
#9E2B95
secondary
#67BE6E
accent
#E05347
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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