#9E189E#9E189E

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

Color values

HEX#9E189E
RGBrgb(158, 24, 158)
HSLhsl(300, 74%, 36%)
HSVhsv(300, 85%, 62%)
CMYKcmyk(0%, 84.8%, 0%, 38%)
CIE-LABlab(38.54, 65.25, -40.67)
CIE-LCHlch(38.54, 76.89, 328.07°)
OKLaboklab(49.89% 0.1823 -0.1129)
OKLCHoklch(49.89% 0.214 328.2)
XYZxyz(20.5985, 10.3926, 33.2622)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E189E #189E18
analogous
#5B189E #9E189E #9E185B
triadic
#9E189E #9E9E18 #189E9E
tetradic
#9E189E #9E5B18 #189E18 #185B9E
square
#9E189E #9E5B18 #189E18 #185B9E
split-complementary
#9E189E #5B9E18 #189E5B
monochromatic
#340834 #691069 #9E189E #D320D3 #E44DE4

Accessibility & contrast

On white

6.82
#9E189E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9E189E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E189E
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E189E#FFFFFF#000000##FFFFFF
##9E189E1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#43609B
Tritanopia (blue-blind)
#A3325E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e189e;
/* rgb */ color: rgb(158, 24, 158);
/* oklch */ color: oklch(49.9% 0.214 328.2);
Tailwind
colors: {
  custom: {
    50: '#bf6abb',
    500: '#9e189e',
    950: '#000000',
  },
}
SCSS
$custom: #9e189e;
$custom-light: #bf6abb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e189e",
  "rgb": {
    "r": 158,
    "g": 24,
    "b": 158
  },
  "hsl": {
    "h": 300,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49887,
    "c": 0.21441,
    "h": 328.2
  },
  "luminance": 0.10391
}

Semantic roles & 50–950 ramp

primary
#9E189E
secondary
#4CC64C
accent
#F03838
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130712
muted
#827A81

Preview Lab

Preview with #9E189E

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

Preview Lab → · Contrast checker → · Palette generator →

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