#9A2196#9A2196

#9A2196 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.200 H 329.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9A2196
RGBrgb(154, 33, 150)
HSLhsl(302, 65%, 37%)
HSVhsv(302, 79%, 60%)
CMYKcmyk(0%, 78.6%, 2.6%, 39.6%)
CIE-LABlab(38.13, 60.94, -36.51)
CIE-LCHlch(38.13, 71.04, 329.08°)
OKLaboklab(49.31% 0.172 -0.101)
OKLCHoklch(49.31% 0.2 329.6)
XYZxyz(19.3752, 10.1613, 29.7891)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2196 #219A25
analogous
#61219A #9A2196 #9A215A
triadic
#9A2196 #969A21 #21969A
tetradic
#9A2196 #9A6121 #219A25 #215A9A
square
#9A2196 #9A6121 #219A25 #215A9A
split-complementary
#9A2196 #5A9A21 #219A61
monochromatic
#350B34 #681665 #9A2196 #CC2CC7 #DC5AD7

Accessibility & contrast

On white

6.93
#9A2196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9A2196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2196
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2196#FFFFFF#000000##FFFFFF
##9A21961.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095099
Deuteranopia (green-blind)
#475F93
Tritanopia (blue-blind)
#A0345B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a2196;
/* rgb */ color: rgb(154, 33, 150);
/* oklch */ color: oklch(49.3% 0.200 329.6);
Tailwind
colors: {
  custom: {
    50: '#bc6cb5',
    500: '#9a2196',
    950: '#000000',
  },
}
SCSS
$custom: #9a2196;
$custom-light: #bc6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2196",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 301.983,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49314,
    "c": 0.1995,
    "h": 329.6
  },
  "luminance": 0.1016
}

Semantic roles & 50–950 ramp

primary
#9A2196
secondary
#57C05B
accent
#E84640
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9A2196

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

Preview Lab → · Contrast checker → · Palette generator →

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