#9E1897#9E1897

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

Color values

HEX#9E1897
RGBrgb(158, 24, 151)
HSLhsl(303, 74%, 36%)
HSVhsv(303, 85%, 62%)
CMYKcmyk(0%, 84.8%, 4.4%, 38%)
CIE-LABlab(38.13, 64.16, -37.08)
CIE-LCHlch(38.13, 74.11, 329.98°)
OKLaboklab(49.46% 0.1826 -0.1025)
OKLCHoklch(49.46% 0.209 330.7)
XYZxyz(20.0131, 10.1584, 30.1789)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1897 #189E1F
analogous
#62189E #9E1897 #9E1854
triadic
#9E1897 #979E18 #18979E
tetradic
#9E1897 #9E6218 #189E1F #18549E
square
#9E1897 #9E6218 #189E1F #18549E
split-complementary
#9E1897 #549E18 #189E62
monochromatic
#340831 #691064 #9E1897 #D320CA #E44DDC

Accessibility & contrast

On white

6.93
#9E1897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9E1897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1897
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1897#FFFFFF#000000##FFFFFF
##9E18971.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#476094
Tritanopia (blue-blind)
#A42E5A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1897;
/* rgb */ color: rgb(158, 24, 151);
/* oklch */ color: oklch(49.5% 0.209 330.7);
Tailwind
colors: {
  custom: {
    50: '#bf69b6',
    500: '#9e1897',
    950: '#000000',
  },
}
SCSS
$custom: #9e1897;
$custom-light: #bf69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1897",
  "rgb": {
    "r": 158,
    "g": 24,
    "b": 151
  },
  "hsl": {
    "h": 303.134,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49462,
    "c": 0.20939,
    "h": 330.7
  },
  "luminance": 0.10157
}

Semantic roles & 50–950 ramp

primary
#9E1897
secondary
#4CC652
accent
#F04138
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E1897

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

Preview Lab → · Contrast checker → · Palette generator →

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