#9A2188#9A2188

#9A2188 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.189 H 335.1°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#9A2188
RGBrgb(154, 33, 136)
HSLhsl(309, 65%, 37%)
HSVhsv(309, 79%, 60%)
CMYKcmyk(0%, 78.6%, 11.7%, 39.6%)
CIE-LABlab(37.37, 58.77, -29.14)
CIE-LCHlch(37.37, 65.60, 333.62°)
OKLaboklab(48.52% 0.1717 -0.0797)
OKLCHoklch(48.52% 0.189 335.1)
XYZxyz(18.3145, 9.7370, 24.2026)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2188 #219A33
analogous
#70219A #9A2188 #9A214B
triadic
#9A2188 #889A21 #21889A
tetradic
#9A2188 #9A7021 #219A33 #214B9A
square
#9A2188 #9A7021 #219A33 #214B9A
split-complementary
#9A2188 #4B9A21 #219A70
monochromatic
#350B2F #68165B #9A2188 #CC2CB5 #DC5AC8

Accessibility & contrast

On white

7.13
#9A2188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A2188
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2188#FFFFFF#000000##FFFFFF
##9A21881.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204D8B
Deuteranopia (green-blind)
#4E5E85
Tritanopia (blue-blind)
#A22C53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a2188;
/* rgb */ color: rgb(154, 33, 136);
/* oklch */ color: oklch(48.5% 0.189 335.1);
Tailwind
colors: {
  custom: {
    50: '#bc6bab',
    500: '#9a2188',
    950: '#000000',
  },
}
SCSS
$custom: #9a2188;
$custom-light: #bc6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2188",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 308.926,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4852,
    "c": 0.18928,
    "h": 335.1
  },
  "luminance": 0.09735
}

Semantic roles & 50–950 ramp

primary
#9A2188
secondary
#57C067
accent
#E85940
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A2188

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

Preview Lab → · Contrast checker → · Palette generator →

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