#9F189E#9F189E

#9F189E is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.215 H 328.6°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9F189E
RGBrgb(159, 24, 158)
HSLhsl(300, 74%, 36%)
HSVhsv(300, 85%, 62%)
CMYKcmyk(0%, 84.9%, 0.6%, 37.6%)
CIE-LABlab(38.72, 65.45, -40.37)
CIE-LCHlch(38.72, 76.90, 328.33°)
OKLaboklab(50.05% 0.1833 -0.112)
OKLCHoklch(50.05% 0.215 328.6)
XYZxyz(20.7961, 10.4944, 33.2715)
Luminance0.1049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F189E #189F19
analogous
#5C189F #9F189E #9F185B
triadic
#9F189E #9E9F18 #189E9F
tetradic
#9F189E #9F5C18 #189F19 #185B9F
square
#9F189E #9F5C18 #189F19 #185B9F
split-complementary
#9F189E #5B9F18 #189F5C
monochromatic
#350834 #6A1069 #9F189E #D420D3 #E44DE3

Accessibility & contrast

On white

6.78
#9F189E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9F189E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F189E
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F189E#FFFFFF#000000##FFFFFF
##9F189E1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f189e;
/* rgb */ color: rgb(159, 24, 158);
/* oklch */ color: oklch(50.0% 0.215 328.6);
Tailwind
colors: {
  custom: {
    50: '#c06abb',
    500: '#9f189e',
    950: '#000000',
  },
}
SCSS
$custom: #9f189e;
$custom-light: #c06abb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f189e",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 158
  },
  "hsl": {
    "h": 300.444,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.50046,
    "c": 0.21484,
    "h": 328.6
  },
  "luminance": 0.10493
}

Semantic roles & 50–950 ramp

primary
#9F189E
secondary
#4DC64E
accent
#F03937
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9F189E

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

Preview Lab → · Contrast checker → · Palette generator →

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