#9A2A89#9A2A89

#9A2A89 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.180 H 334.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9A2A89
RGBrgb(154, 42, 137)
HSLhsl(309, 57%, 38%)
HSVhsv(309, 73%, 60%)
CMYKcmyk(0%, 72.7%, 11%, 39.6%)
CIE-LABlab(38.43, 56.02, -28.08)
CIE-LCHlch(38.43, 62.66, 333.38°)
OKLaboklab(49.31% 0.1632 -0.0767)
OKLCHoklch(49.31% 0.18 334.8)
XYZxyz(18.6700, 10.3337, 24.6734)
Luminance0.1033 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2A89 #2A9A3B
analogous
#732A9A #9A2A89 #9A2A51
triadic
#9A2A89 #899A2A #2A899A
tetradic
#9A2A89 #9A732A #2A9A3B #2A519A
square
#9A2A89 #9A732A #2A9A3B #2A519A
split-complementary
#9A2A89 #519A2A #2A9A73
monochromatic
#3A1033 #6A1D5E #9A2A89 #C938B3 #D668C5

Accessibility & contrast

On white

6.85
#9A2A89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9A2A89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2A89
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2A89#FFFFFF#000000##FFFFFF
##9A2A891.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508C
Deuteranopia (green-blind)
#516086
Tritanopia (blue-blind)
#A23356
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a2a89;
/* rgb */ color: rgb(154, 42, 137);
/* oklch */ color: oklch(49.3% 0.180 334.8);
Tailwind
colors: {
  custom: {
    50: '#bb6fac',
    500: '#9a2a89',
    950: '#000000',
  },
}
SCSS
$custom: #9a2a89;
$custom-light: #bb6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2a89",
  "rgb": {
    "r": 154,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 309.107,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49306,
    "c": 0.18031,
    "h": 334.8
  },
  "luminance": 0.10332
}

Semantic roles & 50–950 ramp

primary
#9A2A89
secondary
#63BC71
accent
#E05F47
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A2A89

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

Preview Lab → · Contrast checker → · Palette generator →

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