#9A2198#9A2198

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

Color values

HEX#9A2198
RGBrgb(154, 33, 152)
HSLhsl(301, 65%, 37%)
HSVhsv(301, 79%, 60%)
CMYKcmyk(0%, 78.6%, 1.3%, 39.6%)
CIE-LABlab(38.25, 61.27, -37.54)
CIE-LCHlch(38.25, 71.86, 328.50°)
OKLaboklab(49.43% 0.172 -0.104)
OKLCHoklch(49.43% 0.201 328.8)
XYZxyz(19.5376, 10.2262, 30.6445)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2198 #219A23
analogous
#60219A #9A2198 #9A215C
triadic
#9A2198 #989A21 #21989A
tetradic
#9A2198 #9A6021 #219A23 #215C9A
square
#9A2198 #9A6021 #219A23 #215C9A
split-complementary
#9A2198 #5C9A21 #219A60
monochromatic
#350B35 #681666 #9A2198 #CC2CCA #DC5AD9

Accessibility & contrast

On white

6.90
#9A2198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9A2198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2198
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2198#FFFFFF#000000##FFFFFF
##9A21981.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03509B
Deuteranopia (green-blind)
#455F95
Tritanopia (blue-blind)
#9F355C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a2198;
/* rgb */ color: rgb(154, 33, 152);
/* oklch */ color: oklch(49.4% 0.201 328.8);
Tailwind
colors: {
  custom: {
    50: '#bc6cb7',
    500: '#9a2198',
    950: '#000000',
  },
}
SCSS
$custom: #9a2198;
$custom-light: #bc6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2198",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 300.992,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49433,
    "c": 0.20099,
    "h": 328.8
  },
  "luminance": 0.10225
}

Semantic roles & 50–950 ramp

primary
#9A2198
secondary
#57C059
accent
#E84340
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9A2198

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

Preview Lab → · Contrast checker → · Palette generator →

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