#9A189D#9A189D

#9A189D is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.212 H 327.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9A189D
RGBrgb(154, 24, 157)
HSLhsl(299, 73%, 35%)
HSVhsv(299, 85%, 62%)
CMYKcmyk(1.9%, 84.7%, 0%, 38.4%)
CIE-LABlab(37.77, 64.33, -41.33)
CIE-LCHlch(37.77, 76.46, 327.28°)
OKLaboklab(49.19% 0.1781 -0.115)
OKLCHoklch(49.19% 0.212 327.2)
XYZxyz(19.7386, 9.9591, 32.7744)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A189D #1B9D18
analogous
#58189D #9A189D #9D185D
triadic
#9A189D #9D9A18 #189D9A
tetradic
#9A189D #9D5818 #1B9D18 #185D9D
square
#9A189D #9D5818 #1B9D18 #185D9D
split-complementary
#9A189D #5D9D18 #189D58
monochromatic
#320833 #661068 #9A189D #CE20D2 #E04CE4

Accessibility & contrast

On white

7.02
#9A189D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9A189D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A189D
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A189D#FFFFFF#000000##FFFFFF
##9A189D1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#3F5E9A
Tritanopia (blue-blind)
#9F335D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a189d;
/* rgb */ color: rgb(154, 24, 157);
/* oklch */ color: oklch(49.2% 0.212 327.2);
Tailwind
colors: {
  custom: {
    50: '#bc69ba',
    500: '#9a189d',
    950: '#000000',
  },
}
SCSS
$custom: #9a189d;
$custom-light: #bc69ba;
$custom-dark: #000000;
JSON
{
  "hex": "#9a189d",
  "rgb": {
    "r": 154,
    "g": 24,
    "b": 157
  },
  "hsl": {
    "h": 298.647,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49191,
    "c": 0.212,
    "h": 327.2
  },
  "luminance": 0.09958
}

Semantic roles & 50–950 ramp

primary
#9A189D
secondary
#4EC54B
accent
#F0383C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #9A189D

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

Preview Lab → · Contrast checker → · Palette generator →

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