#9A2197#9A2197

#9A2197 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.200 H 329.2°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9A2197
RGBrgb(154, 33, 151)
HSLhsl(301, 65%, 37%)
HSVhsv(301, 79%, 60%)
CMYKcmyk(0%, 78.6%, 1.9%, 39.6%)
CIE-LABlab(38.19, 61.11, -37.02)
CIE-LCHlch(38.19, 71.45, 328.79°)
OKLaboklab(49.37% 0.172 -0.1025)
OKLCHoklch(49.37% 0.2 329.2)
XYZxyz(19.4560, 10.1936, 30.2150)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2197 #219A24
analogous
#61219A #9A2197 #9A215B
triadic
#9A2197 #979A21 #21979A
tetradic
#9A2197 #9A6121 #219A24 #215B9A
square
#9A2197 #9A6121 #219A24 #215B9A
split-complementary
#9A2197 #5B9A21 #219A61
monochromatic
#350B34 #681666 #9A2197 #CC2CC8 #DC5AD8

Accessibility & contrast

On white

6.91
#9A2197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9A2197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2197
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2197#FFFFFF#000000##FFFFFF
##9A21971.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06509A
Deuteranopia (green-blind)
#465F94
Tritanopia (blue-blind)
#A0345C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a2197;
/* rgb */ color: rgb(154, 33, 151);
/* oklch */ color: oklch(49.4% 0.200 329.2);
Tailwind
colors: {
  custom: {
    50: '#bc6cb6',
    500: '#9a2197',
    950: '#000000',
  },
}
SCSS
$custom: #9a2197;
$custom-light: #bc6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2197",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 301.488,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49373,
    "c": 0.20024,
    "h": 329.2
  },
  "luminance": 0.10192
}

Semantic roles & 50–950 ramp

primary
#9A2197
secondary
#57C05A
accent
#E84440
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9A2197

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

Preview Lab → · Contrast checker → · Palette generator →

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