#9A2CAC#9A2CAC

#9A2CAC is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.5% C 0.206 H 321.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9A2CAC
RGBrgb(154, 44, 172)
HSLhsl(292, 59%, 42%)
HSVhsv(292, 74%, 67%)
CMYKcmyk(10.5%, 74.4%, 0%, 32.5%)
CIE-LABlab(40.66, 61.26, -45.71)
CIE-LCHlch(40.66, 76.43, 323.27°)
OKLaboklab(51.54% 0.1614 -0.1279)
OKLCHoklch(51.54% 0.206 321.6)
XYZxyz(21.6727, 11.6512, 40.1291)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2CAC #3EAC2C
analogous
#5A2CAC #9A2CAC #AC2C7E
triadic
#9A2CAC #AC9A2C #2CAC9A
tetradic
#9A2CAC #AC5A2C #3EAC2C #2C7EAC
square
#9A2CAC #AC5A2C #3EAC2C #2C7EAC
split-complementary
#9A2CAC #7EAC2C #2CAC5A
monochromatic
#43134B #6E207B #9A2CAC #BC46D0 #CE76DC

Accessibility & contrast

On white

6.31
#9A2CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9A2CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2CAC
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2CAC#FFFFFF#000000##FFFFFF
##9A2CAC1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#3D64A9
Tritanopia (blue-blind)
#9B456A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a2cac;
/* rgb */ color: rgb(154, 44, 172);
/* oklch */ color: oklch(51.5% 0.206 321.6);
Tailwind
colors: {
  custom: {
    50: '#bc71c5',
    500: '#9a2cac',
    950: '#000000',
  },
}
SCSS
$custom: #9a2cac;
$custom-light: #bc71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2cac",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 291.563,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51535,
    "c": 0.20593,
    "h": 321.6
  },
  "luminance": 0.1165
}

Semantic roles & 50–950 ramp

primary
#9A2CAC
secondary
#7CC470
accent
#E2455B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A2CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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