#9E1C9F#9E1C9F

#9E1C9F is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.2% C 0.212 H 327.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9E1C9F
RGBrgb(158, 28, 159)
HSLhsl(300, 70%, 37%)
HSVhsv(300, 82%, 62%)
CMYKcmyk(0.6%, 82.4%, 0%, 37.6%)
CIE-LABlab(38.91, 64.52, -40.68)
CIE-LCHlch(38.91, 76.27, 327.77°)
OKLaboklab(50.17% 0.1797 -0.113)
OKLCHoklch(50.17% 0.212 327.8)
XYZxyz(20.7735, 10.6044, 33.7469)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1C9F #1D9F1C
analogous
#5D1C9F #9E1C9F #9F1C5F
triadic
#9E1C9F #9F9E1C #1C9F9E
tetradic
#9E1C9F #9F5D1C #1D9F1C #1C5F9F
square
#9E1C9F #9F5D1C #1D9F1C #1C5F9F
split-complementary
#9E1C9F #5F9F1C #1C9F5D
monochromatic
#370A37 #6A136B #9E1C9F #D225D3 #E054E1

Accessibility & contrast

On white

6.73
#9E1C9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9E1C9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1C9F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1C9F#FFFFFF#000000##FFFFFF
##9E1C9F1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#43619C
Tritanopia (blue-blind)
#A3355F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e1c9f;
/* rgb */ color: rgb(158, 28, 159);
/* oklch */ color: oklch(50.2% 0.212 327.8);
Tailwind
colors: {
  custom: {
    50: '#bf6bbc',
    500: '#9e1c9f',
    950: '#000000',
  },
}
SCSS
$custom: #9e1c9f;
$custom-light: #bf6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1c9f",
  "rgb": {
    "r": 158,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 299.542,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.50167,
    "c": 0.21224,
    "h": 327.8
  },
  "luminance": 0.10603
}

Semantic roles & 50–950 ramp

primary
#9E1C9F
secondary
#54C453
accent
#ED3B3C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9E1C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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