#9A2CAA#9A2CAA

#9A2CAA is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.4% C 0.204 H 322.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9A2CAA
RGBrgb(154, 44, 170)
HSLhsl(292, 59%, 42%)
HSVhsv(292, 74%, 67%)
CMYKcmyk(9.4%, 74.1%, 0%, 33.3%)
CIE-LABlab(40.53, 60.89, -44.72)
CIE-LCHlch(40.53, 75.55, 323.71°)
OKLaboklab(51.41% 0.1615 -0.125)
OKLCHoklch(51.41% 0.204 322.3)
XYZxyz(21.4821, 11.5749, 39.1251)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2CAA #3CAA2C
analogous
#5B2CAA #9A2CAA #AA2C7B
triadic
#9A2CAA #AA9A2C #2CAA9A
tetradic
#9A2CAA #AA5B2C #3CAA2C #2C7BAA
square
#9A2CAA #AA5B2C #3CAA2C #2C7BAA
split-complementary
#9A2CAA #7BAA2C #2CAA5B
monochromatic
#421349 #6E1F79 #9A2CAA #BD44CF #CE75DB

Accessibility & contrast

On white

6.34
#9A2CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9A2CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2CAA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2CAA#FFFFFF#000000##FFFFFF
##9A2CAA1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#3E64A7
Tritanopia (blue-blind)
#9C4469
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a2caa;
/* rgb */ color: rgb(154, 44, 170);
/* oklch */ color: oklch(51.4% 0.204 322.3);
Tailwind
colors: {
  custom: {
    50: '#bb71c4',
    500: '#9a2caa',
    950: '#000000',
  },
}
SCSS
$custom: #9a2caa;
$custom-light: #bb71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2caa",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 292.381,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51407,
    "c": 0.20424,
    "h": 322.3
  },
  "luminance": 0.11574
}

Semantic roles & 50–950 ramp

primary
#9A2CAA
secondary
#7AC36F
accent
#E2465A
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A2CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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