#9E319D#9E319D

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

Color values

HEX#9E319D
RGBrgb(158, 49, 157)
HSLhsl(301, 53%, 41%)
HSVhsv(301, 69%, 62%)
CMYKcmyk(0%, 69%, 0.6%, 38%)
CIE-LABlab(41.06, 57.68, -36.06)
CIE-LCHlch(41.06, 68.03, 327.99°)
OKLaboklab(51.67% 0.1613 -0.0997)
OKLCHoklch(51.67% 0.19 328.3)
XYZxyz(21.2844, 11.9016, 33.0679)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E319D #319E32
analogous
#68319E #9E319D #9E3167
triadic
#9E319D #9D9E31 #319D9E
tetradic
#9E319D #9E6831 #319E32 #31679E
square
#9E319D #9E6831 #319E32 #31679E
split-complementary
#9E319D #679E31 #319E68
monochromatic
#411440 #6F236F #9E319D #C646C5 #D475D3

Accessibility & contrast

On white

6.21
#9E319D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9E319D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E319D
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E319D#FFFFFF#000000##FFFFFF
##9E319D1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2158A0
Deuteranopia (green-blind)
#4D669A
Tritanopia (blue-blind)
#A34063
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e319d;
/* rgb */ color: rgb(158, 49, 157);
/* oklch */ color: oklch(51.7% 0.190 328.3);
Tailwind
colors: {
  custom: {
    50: '#be73ba',
    500: '#9e319d',
    950: '#000000',
  },
}
SCSS
$custom: #9e319d;
$custom-light: #be73ba;
$custom-dark: #000000;
JSON
{
  "hex": "#9e319d",
  "rgb": {
    "r": 158,
    "g": 49,
    "b": 157
  },
  "hsl": {
    "h": 300.55,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51668,
    "c": 0.18962,
    "h": 328.3
  },
  "luminance": 0.119
}

Semantic roles & 50–950 ramp

primary
#9E319D
secondary
#6EBC6F
accent
#DC4D4C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9E319D

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

Preview Lab → · Contrast checker → · Palette generator →

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