#9E189D#9E189D

#9E189D is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.214 H 328.6°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9E189D
RGBrgb(158, 24, 157)
HSLhsl(300, 74%, 36%)
HSVhsv(300, 85%, 62%)
CMYKcmyk(0%, 84.8%, 0.6%, 38%)
CIE-LABlab(38.48, 65.10, -40.16)
CIE-LCHlch(38.48, 76.49, 328.33°)
OKLaboklab(49.83% 0.1823 -0.1114)
OKLCHoklch(49.83% 0.214 328.6)
XYZxyz(20.5128, 10.3583, 32.8107)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E189D #189E19
analogous
#5C189E #9E189D #9E185A
triadic
#9E189D #9D9E18 #189D9E
tetradic
#9E189D #9E5C18 #189E19 #185A9E
square
#9E189D #9E5C18 #189E19 #185A9E
split-complementary
#9E189D #5A9E18 #189E5C
monochromatic
#340833 #691068 #9E189D #D320D2 #E44DE3

Accessibility & contrast

On white

6.84
#9E189D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9E189D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E189D
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E189D#FFFFFF#000000##FFFFFF
##9E189D1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#43609A
Tritanopia (blue-blind)
#A3325D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e189d;
/* rgb */ color: rgb(158, 24, 157);
/* oklch */ color: oklch(49.8% 0.214 328.6);
Tailwind
colors: {
  custom: {
    50: '#bf6aba',
    500: '#9e189d',
    950: '#000000',
  },
}
SCSS
$custom: #9e189d;
$custom-light: #bf6aba;
$custom-dark: #000000;
JSON
{
  "hex": "#9e189d",
  "rgb": {
    "r": 158,
    "g": 24,
    "b": 157
  },
  "hsl": {
    "h": 300.448,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49826,
    "c": 0.21369,
    "h": 328.6
  },
  "luminance": 0.10357
}

Semantic roles & 50–950 ramp

primary
#9E189D
secondary
#4CC64D
accent
#F03938
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130712
muted
#827A81

Preview Lab

Preview with #9E189D

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

Preview Lab → · Contrast checker → · Palette generator →

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