#9E1D9C#9E1D9C

#9E1D9C is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.209 H 328.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9E1D9C
RGBrgb(158, 29, 156)
HSLhsl(301, 69%, 37%)
HSVhsv(301, 82%, 62%)
CMYKcmyk(0%, 81.6%, 1.3%, 38%)
CIE-LABlab(38.81, 63.79, -39.02)
CIE-LCHlch(38.81, 74.78, 328.55°)
OKLaboklab(50.04% 0.1791 -0.1082)
OKLCHoklch(50.04% 0.209 328.9)
XYZxyz(20.5405, 10.5497, 32.4005)
Luminance0.1055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D9C #1D9E1F
analogous
#601D9E #9E1D9C #9E1D5C
triadic
#9E1D9C #9C9E1D #1D9C9E
tetradic
#9E1D9C #9E601D #1D9E1F #1D5C9E
square
#9E1D9C #9E601D #1D9E1F #1D5C9E
split-complementary
#9E1D9C #5C9E1D #1D9E60
monochromatic
#370A36 #6A1469 #9E1D9C #D226CF #E056DE

Accessibility & contrast

On white

6.75
#9E1D9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9E1D9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1D9C
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D9C#FFFFFF#000000##FFFFFF
##9E1D9C1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#466199
Tritanopia (blue-blind)
#A4335E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e1d9c;
/* rgb */ color: rgb(158, 29, 156);
/* oklch */ color: oklch(50.0% 0.209 328.9);
Tailwind
colors: {
  custom: {
    50: '#bf6bba',
    500: '#9e1d9c',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d9c;
$custom-light: #bf6bba;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d9c",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 300.93,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.50043,
    "c": 0.20925,
    "h": 328.9
  },
  "luminance": 0.10548
}

Semantic roles & 50–950 ramp

primary
#9E1D9C
secondary
#54C355
accent
#EC3F3C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E1D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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