#9E2E9E#9E2E9E

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

Color values

HEX#9E2E9E
RGBrgb(158, 46, 158)
HSLhsl(300, 55%, 40%)
HSVhsv(300, 71%, 62%)
CMYKcmyk(0%, 70.9%, 0%, 38%)
CIE-LABlab(40.72, 58.96, -37.19)
CIE-LCHlch(40.72, 69.71, 327.76°)
OKLaboklab(51.44% 0.1644 -0.103)
OKLCHoklch(51.44% 0.194 327.9)
XYZxyz(21.2488, 11.6932, 33.4790)
Luminance0.1169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E9E #2E9E2E
analogous
#662E9E #9E2E9E #9E2E66
triadic
#9E2E9E #9E9E2E #2E9E9E
tetradic
#9E2E9E #9E662E #2E9E2E #2E669E
square
#9E2E9E #9E662E #2E9E2E #2E669E
split-complementary
#9E2E9E #669E2E #2E9E66
monochromatic
#3F123F #6F206F #9E2E9E #C841C8 #D671D6

Accessibility & contrast

On white

6.29
#9E2E9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9E2E9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2E9E
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2E9E#FFFFFF#000000##FFFFFF
##9E2E9E1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B57A1
Deuteranopia (green-blind)
#4B659B
Tritanopia (blue-blind)
#A33F63
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e2e9e;
/* rgb */ color: rgb(158, 46, 158);
/* oklch */ color: oklch(51.4% 0.194 327.9);
Tailwind
colors: {
  custom: {
    50: '#be72bb',
    500: '#9e2e9e',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e9e;
$custom-light: #be72bb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e9e",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 300,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.51445,
    "c": 0.19401,
    "h": 327.9
  },
  "luminance": 0.11692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E2E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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