#9C2CAF#9C2CAF

#9C2CAF is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.209 H 321.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9C2CAF
RGBrgb(156, 44, 175)
HSLhsl(291, 60%, 43%)
HSVhsv(291, 75%, 69%)
CMYKcmyk(10.9%, 74.9%, 0%, 31.4%)
CIE-LABlab(41.16, 62.22, -46.66)
CIE-LCHlch(41.16, 77.77, 323.13°)
OKLaboklab(52.02% 0.1635 -0.1306)
OKLCHoklch(52.02% 0.209 321.4)
XYZxyz(22.3480, 11.9657, 41.6816)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2CAF #3FAF2C
analogous
#5B2CAF #9C2CAF #AF2C80
triadic
#9C2CAF #AF9C2C #2CAF9C
tetradic
#9C2CAF #AF5B2C #3FAF2C #2C80AF
square
#9C2CAF #AF5B2C #3FAF2C #2C80AF
split-complementary
#9C2CAF #80AF2C #2CAF5B
monochromatic
#45134D #70207E #9C2CAF #BD47D1 #CE78DD

Accessibility & contrast

On white

6.19
#9C2CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9C2CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2CAF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2CAF#FFFFFF#000000##FFFFFF
##9C2CAF1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#3D65AC
Tritanopia (blue-blind)
#9D466C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c2caf;
/* rgb */ color: rgb(156, 44, 175);
/* oklch */ color: oklch(52.0% 0.209 321.4);
Tailwind
colors: {
  custom: {
    50: '#bd71c7',
    500: '#9c2caf',
    950: '#000000',
  },
}
SCSS
$custom: #9c2caf;
$custom-light: #bd71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2caf",
  "rgb": {
    "r": 156,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 291.298,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52017,
    "c": 0.20928,
    "h": 321.4
  },
  "luminance": 0.11964
}

Semantic roles & 50–950 ramp

primary
#9C2CAF
secondary
#7EC572
accent
#E3455C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9C2CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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