#9E2E9D#9E2E9D

#9E2E9D is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.193 H 328.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9E2E9D
RGBrgb(158, 46, 157)
HSLhsl(301, 55%, 40%)
HSVhsv(301, 71%, 62%)
CMYKcmyk(0%, 70.9%, 0.6%, 38%)
CIE-LABlab(40.67, 58.79, -36.68)
CIE-LCHlch(40.67, 69.29, 328.04°)
OKLaboklab(51.39% 0.1644 -0.1015)
OKLCHoklch(51.39% 0.193 328.3)
XYZxyz(21.1631, 11.6589, 33.0275)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E9D #2E9E2F
analogous
#672E9E #9E2E9D #9E2E65
triadic
#9E2E9D #9D9E2E #2E9D9E
tetradic
#9E2E9D #9E672E #2E9E2F #2E659E
square
#9E2E9D #9E672E #2E9E2F #2E659E
split-complementary
#9E2E9D #659E2E #2E9E67
monochromatic
#3F123F #6F206E #9E2E9D #C841C7 #D671D5

Accessibility & contrast

On white

6.30
#9E2E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9E2E9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2E9D
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2E9D#FFFFFF#000000##FFFFFF
##9E2E9D1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C56A0
Deuteranopia (green-blind)
#4C659A
Tritanopia (blue-blind)
#A33E62
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e2e9d;
/* rgb */ color: rgb(158, 46, 157);
/* oklch */ color: oklch(51.4% 0.193 328.3);
Tailwind
colors: {
  custom: {
    50: '#be72ba',
    500: '#9e2e9d',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e9d;
$custom-light: #be72ba;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e9d",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 300.536,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.51387,
    "c": 0.19322,
    "h": 328.3
  },
  "luminance": 0.11657
}

Semantic roles & 50–950 ramp

primary
#9E2E9D
secondary
#6BBD6B
accent
#DE4B4A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E2E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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