#9A2CAB#9A2CAB

#9A2CAB is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.205 H 321.9°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9A2CAB
RGBrgb(154, 44, 171)
HSLhsl(292, 59%, 42%)
HSVhsv(292, 74%, 67%)
CMYKcmyk(9.9%, 74.3%, 0%, 32.9%)
CIE-LABlab(40.59, 61.07, -45.21)
CIE-LCHlch(40.59, 75.99, 323.49°)
OKLaboklab(51.47% 0.1615 -0.1264)
OKLCHoklch(51.47% 0.205 321.9)
XYZxyz(21.5770, 11.6129, 39.6252)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2CAB #3DAB2C
analogous
#5B2CAB #9A2CAB #AB2C7C
triadic
#9A2CAB #AB9A2C #2CAB9A
tetradic
#9A2CAB #AB5B2C #3DAB2C #2C7CAB
square
#9A2CAB #AB5B2C #3DAB2C #2C7CAB
split-complementary
#9A2CAB #7CAB2C #2CAB5B
monochromatic
#42134A #6E1F7A #9A2CAB #BD45CF #CE76DC

Accessibility & contrast

On white

6.32
#9A2CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9A2CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2CAB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2CAB#FFFFFF#000000##FFFFFF
##9A2CAB1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#3E64A8
Tritanopia (blue-blind)
#9C446A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a2cab;
/* rgb */ color: rgb(154, 44, 171);
/* oklch */ color: oklch(51.5% 0.205 321.9);
Tailwind
colors: {
  custom: {
    50: '#bc71c5',
    500: '#9a2cab',
    950: '#000000',
  },
}
SCSS
$custom: #9a2cab;
$custom-light: #bc71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2cab",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 291.969,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51471,
    "c": 0.20508,
    "h": 321.9
  },
  "luminance": 0.11612
}

Semantic roles & 50–950 ramp

primary
#9A2CAB
secondary
#7BC36F
accent
#E2465B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A2CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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