#9A2189#9A2189

#9A2189 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.190 H 334.7°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9A2189
RGBrgb(154, 33, 137)
HSLhsl(308, 65%, 37%)
HSVhsv(308, 79%, 60%)
CMYKcmyk(0%, 78.6%, 11%, 39.6%)
CIE-LABlab(37.42, 58.92, -29.68)
CIE-LCHlch(37.42, 65.97, 333.27°)
OKLaboklab(48.58% 0.1717 -0.0812)
OKLCHoklch(48.58% 0.19 334.7)
XYZxyz(18.3859, 9.7655, 24.5787)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2189 #219A32
analogous
#6F219A #9A2189 #9A214D
triadic
#9A2189 #899A21 #21899A
tetradic
#9A2189 #9A6F21 #219A32 #214D9A
square
#9A2189 #9A6F21 #219A32 #214D9A
split-complementary
#9A2189 #4D9A21 #219A6F
monochromatic
#350B2F #68165C #9A2189 #CC2CB6 #DC5AC9

Accessibility & contrast

On white

7.11
#9A2189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9A2189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2189
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2189#FFFFFF#000000##FFFFFF
##9A21891.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4D8C
Deuteranopia (green-blind)
#4D5E86
Tritanopia (blue-blind)
#A22D54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a2189;
/* rgb */ color: rgb(154, 33, 137);
/* oklch */ color: oklch(48.6% 0.190 334.7);
Tailwind
colors: {
  custom: {
    50: '#bc6bac',
    500: '#9a2189',
    950: '#000000',
  },
}
SCSS
$custom: #9a2189;
$custom-light: #bc6bac;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2189",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 308.43,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48575,
    "c": 0.18999,
    "h": 334.7
  },
  "luminance": 0.09764
}

Semantic roles & 50–950 ramp

primary
#9A2189
secondary
#57C066
accent
#E85840
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A2189

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

Preview Lab → · Contrast checker → · Palette generator →

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