#9E1A97#9E1A97

#9E1A97 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.6% C 0.208 H 330.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9E1A97
RGBrgb(158, 26, 151)
HSLhsl(303, 72%, 36%)
HSVhsv(303, 84%, 62%)
CMYKcmyk(0%, 83.5%, 4.4%, 38%)
CIE-LABlab(38.28, 63.72, -36.84)
CIE-LCHlch(38.28, 73.60, 329.97°)
OKLaboklab(49.57% 0.1813 -0.1018)
OKLCHoklch(49.57% 0.208 330.7)
XYZxyz(20.0558, 10.2439, 30.1931)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A97 #1A9E21
analogous
#631A9E #9E1A97 #9E1A55
triadic
#9E1A97 #979E1A #1A979E
tetradic
#9E1A97 #9E631A #1A9E21 #1A559E
square
#9E1A97 #9E631A #1A9E21 #1A559E
split-complementary
#9E1A97 #559E1A #1A9E63
monochromatic
#350933 #691165 #9E1A97 #D323C9 #E250DA

Accessibility & contrast

On white

6.89
#9E1A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9E1A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1A97
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A97#FFFFFF#000000##FFFFFF
##9E1A971.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#486094
Tritanopia (blue-blind)
#A42F5A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1a97;
/* rgb */ color: rgb(158, 26, 151);
/* oklch */ color: oklch(49.6% 0.208 330.7);
Tailwind
colors: {
  custom: {
    50: '#bf6ab6',
    500: '#9e1a97',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a97;
$custom-light: #bf6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a97",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 303.182,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4957,
    "c": 0.20795,
    "h": 330.7
  },
  "luminance": 0.10242
}

Semantic roles & 50–950 ramp

primary
#9E1A97
secondary
#4FC555
accent
#EE4339
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E1A97

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

Preview Lab → · Contrast checker → · Palette generator →

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