#9E2E8E#9E2E8E

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

Color values

HEX#9E2E8E
RGBrgb(158, 46, 142)
HSLhsl(309, 55%, 40%)
HSVhsv(309, 71%, 62%)
CMYKcmyk(0%, 70.9%, 10.1%, 38%)
CIE-LABlab(39.88, 56.34, -28.83)
CIE-LCHlch(39.88, 63.29, 332.90°)
OKLaboklab(50.56% 0.1636 -0.0788)
OKLCHoklch(50.56% 0.182 334.3)
XYZxyz(19.9602, 11.1778, 26.6922)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E8E #2E9E3E
analogous
#762E9E #9E2E8E #9E2E56
triadic
#9E2E8E #8E9E2E #2E8E9E
tetradic
#9E2E8E #9E762E #2E9E3E #2E569E
square
#9E2E8E #9E762E #2E9E3E #2E569E
split-complementary
#9E2E8E #569E2E #2E9E76
monochromatic
#3F1239 #6F2063 #9E2E8E #C841B5 #D671C7

Accessibility & contrast

On white

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

On black

3.24
#9E2E8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9E2E8E#FFFFFF#000000##FFFFFF
##9E2E8E1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5391
Deuteranopia (green-blind)
#53648B
Tritanopia (blue-blind)
#A6375A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e2e8e;
/* rgb */ color: rgb(158, 46, 142);
/* oklch */ color: oklch(50.6% 0.182 334.3);
Tailwind
colors: {
  custom: {
    50: '#be71af',
    500: '#9e2e8e',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e8e;
$custom-light: #be71af;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e8e",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 308.571,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.50561,
    "c": 0.18158,
    "h": 334.3
  },
  "luminance": 0.11176
}

Semantic roles & 50–950 ramp

primary
#9E2E8E
secondary
#6BBD76
accent
#DE5F4A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E2E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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