#9E319E#9E319E

#9E319E is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.190 H 327.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9E319E
RGBrgb(158, 49, 158)
HSLhsl(300, 53%, 41%)
HSVhsv(300, 69%, 62%)
CMYKcmyk(0%, 69%, 0%, 38%)
CIE-LABlab(41.11, 57.86, -36.57)
CIE-LCHlch(41.11, 68.45, 327.70°)
OKLaboklab(51.73% 0.1613 -0.1012)
OKLCHoklch(51.73% 0.19 327.9)
XYZxyz(21.3701, 11.9358, 33.5194)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E319E #319E31
analogous
#67319E #9E319E #9E3167
triadic
#9E319E #9E9E31 #319E9E
tetradic
#9E319E #9E6731 #319E31 #31679E
square
#9E319E #9E6731 #319E31 #31679E
split-complementary
#9E319E #679E31 #319E67
monochromatic
#411441 #6F236F #9E319E #C646C6 #D475D4

Accessibility & contrast

On white

6.20
#9E319E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9E319E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E319E
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E319E#FFFFFF#000000##FFFFFF
##9E319E1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2058A1
Deuteranopia (green-blind)
#4D669B
Tritanopia (blue-blind)
#A34164
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e319e;
/* rgb */ color: rgb(158, 49, 158);
/* oklch */ color: oklch(51.7% 0.190 327.9);
Tailwind
colors: {
  custom: {
    50: '#be73bb',
    500: '#9e319e',
    950: '#000000',
  },
}
SCSS
$custom: #9e319e;
$custom-light: #be73bb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e319e",
  "rgb": {
    "r": 158,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 300,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51725,
    "c": 0.19043,
    "h": 327.9
  },
  "luminance": 0.11934
}

Semantic roles & 50–950 ramp

primary
#9E319E
secondary
#6EBC6E
accent
#DC4C4C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9E319E

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

Preview Lab → · Contrast checker → · Palette generator →

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