#9E189C#9E189C

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

Color values

HEX#9E189C
RGBrgb(158, 24, 156)
HSLhsl(301, 74%, 36%)
HSVhsv(301, 85%, 62%)
CMYKcmyk(0%, 84.8%, 1.3%, 38%)
CIE-LABlab(38.42, 64.94, -39.65)
CIE-LCHlch(38.42, 76.09, 328.59°)
OKLaboklab(49.76% 0.1824 -0.11)
OKLCHoklch(49.76% 0.213 328.9)
XYZxyz(20.4278, 10.3243, 32.3629)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E189C #189E1A
analogous
#5D189E #9E189C #9E1859
triadic
#9E189C #9C9E18 #189C9E
tetradic
#9E189C #9E5D18 #189E1A #18599E
square
#9E189C #9E5D18 #189E1A #18599E
split-complementary
#9E189C #599E18 #189E5D
monochromatic
#340833 #691068 #9E189C #D320D0 #E44DE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E189C#FFFFFF#000000##FFFFFF
##9E189C1.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)
#00509F
Deuteranopia (green-blind)
#446099
Tritanopia (blue-blind)
#A4315D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e189c;
/* rgb */ color: rgb(158, 24, 156);
/* oklch */ color: oklch(49.8% 0.213 328.9);
Tailwind
colors: {
  custom: {
    50: '#bf6aba',
    500: '#9e189c',
    950: '#000000',
  },
}
SCSS
$custom: #9e189c;
$custom-light: #bf6aba;
$custom-dark: #000000;
JSON
{
  "hex": "#9e189c",
  "rgb": {
    "r": 158,
    "g": 24,
    "b": 156
  },
  "hsl": {
    "h": 300.896,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49764,
    "c": 0.21297,
    "h": 328.9
  },
  "luminance": 0.10323
}

Semantic roles & 50–950 ramp

primary
#9E189C
secondary
#4CC64E
accent
#F03A38
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E189C

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

Preview Lab → · Contrast checker → · Palette generator →

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