#9E1D95#9E1D95

#9E1D95 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.204 H 331.4°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9E1D95
RGBrgb(158, 29, 149)
HSLhsl(304, 69%, 37%)
HSVhsv(304, 82%, 62%)
CMYKcmyk(0%, 81.6%, 5.7%, 38%)
CIE-LABlab(38.41, 62.70, -35.41)
CIE-LCHlch(38.41, 72.01, 330.54°)
OKLaboklab(49.63% 0.1793 -0.0977)
OKLCHoklch(49.63% 0.204 331.4)
XYZxyz(19.9648, 10.3194, 29.3683)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D95 #1D9E26
analogous
#671D9E #9E1D95 #9E1D55
triadic
#9E1D95 #959E1D #1D959E
tetradic
#9E1D95 #9E671D #1D9E26 #1D559E
square
#9E1D95 #9E671D #1D9E26 #1D559E
split-complementary
#9E1D95 #559E1D #1D9E67
monochromatic
#370A33 #6A1464 #9E1D95 #D226C6 #E056D6

Accessibility & contrast

On white

6.85
#9E1D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9E1D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1D95
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D95#FFFFFF#000000##FFFFFF
##9E1D951.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4F98
Deuteranopia (green-blind)
#4A6192
Tritanopia (blue-blind)
#A52F5A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1d95;
/* rgb */ color: rgb(158, 29, 149);
/* oklch */ color: oklch(49.6% 0.204 331.4);
Tailwind
colors: {
  custom: {
    50: '#bf6bb4',
    500: '#9e1d95',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d95;
$custom-light: #bf6bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d95",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 149
  },
  "hsl": {
    "h": 304.186,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49628,
    "c": 0.20417,
    "h": 331.4
  },
  "luminance": 0.10318
}

Semantic roles & 50–950 ramp

primary
#9E1D95
secondary
#54C35B
accent
#EC483C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E1D95

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

Preview Lab → · Contrast checker → · Palette generator →

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