#9D2CAB#9D2CAB

#9D2CAB is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.206 H 323.1°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9D2CAB
RGBrgb(157, 44, 171)
HSLhsl(293, 59%, 42%)
HSVhsv(293, 74%, 67%)
CMYKcmyk(8.2%, 74.3%, 0%, 32.9%)
CIE-LABlab(41.07, 61.71, -44.42)
CIE-LCHlch(41.07, 76.03, 324.25°)
OKLaboklab(51.91% 0.1649 -0.124)
OKLCHoklch(51.91% 0.206 323.1)
XYZxyz(22.1553, 11.9111, 39.6523)
Luminance0.1191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2CAB #3AAB2C
analogous
#5E2CAB #9D2CAB #AB2C7A
triadic
#9D2CAB #AB9D2C #2CAB9D
tetradic
#9D2CAB #AB5E2C #3AAB2C #2C7AAB
square
#9D2CAB #AB5E2C #3AAB2C #2C7AAB
split-complementary
#9D2CAB #7AAB2C #2CAB5E
monochromatic
#44134A #701F7A #9D2CAB #C045CF #D076DC

Accessibility & contrast

On white

6.21
#9D2CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9D2CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2CAB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2CAB#FFFFFF#000000##FFFFFF
##9D2CAB1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#4165A8
Tritanopia (blue-blind)
#9F446A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d2cab;
/* rgb */ color: rgb(157, 44, 171);
/* oklch */ color: oklch(51.9% 0.206 323.1);
Tailwind
colors: {
  custom: {
    50: '#be71c4',
    500: '#9d2cab',
    950: '#000000',
  },
}
SCSS
$custom: #9d2cab;
$custom-light: #be71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2cab",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 293.386,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51908,
    "c": 0.20637,
    "h": 323.1
  },
  "luminance": 0.1191
}

Semantic roles & 50–950 ramp

primary
#9D2CAB
secondary
#79C36F
accent
#E24657
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9D2CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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