#9C2AAF#9C2AAF

#9C2AAF is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.211 H 321.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9C2AAF
RGBrgb(156, 42, 175)
HSLhsl(291, 61%, 43%)
HSVhsv(291, 76%, 69%)
CMYKcmyk(10.9%, 76%, 0%, 31.4%)
CIE-LABlab(40.93, 62.89, -47.04)
CIE-LCHlch(40.93, 78.53, 323.20°)
OKLaboklab(51.85% 0.1653 -0.1317)
OKLCHoklch(51.85% 0.211 321.5)
XYZxyz(22.2753, 11.8202, 41.6574)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2AAF #3DAF2A
analogous
#5A2AAF #9C2AAF #AF2A7F
triadic
#9C2AAF #AF9C2A #2AAF9C
tetradic
#9C2AAF #AF5A2A #3DAF2A #2A7FAF
square
#9C2AAF #AF5A2A #3DAF2A #2A7FAF
split-complementary
#9C2AAF #7FAF2A #2AAF5A
monochromatic
#44124C #701E7E #9C2AAF #BE44D2 #CF75DE

Accessibility & contrast

On white

6.24
#9C2AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9C2AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2AAF
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2AAF#FFFFFF#000000##FFFFFF
##9C2AAF1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#3B65AC
Tritanopia (blue-blind)
#9D456B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c2aaf;
/* rgb */ color: rgb(156, 42, 175);
/* oklch */ color: oklch(51.9% 0.211 321.5);
Tailwind
colors: {
  custom: {
    50: '#bd70c7',
    500: '#9c2aaf',
    950: '#000000',
  },
}
SCSS
$custom: #9c2aaf;
$custom-light: #bd70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2aaf",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 291.429,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51852,
    "c": 0.21135,
    "h": 321.5
  },
  "luminance": 0.11819
}

Semantic roles & 50–950 ramp

primary
#9C2AAF
secondary
#7CC66F
accent
#E4435A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9C2AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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