#9D2CAA#9D2CAA

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

Color values

HEX#9D2CAA
RGBrgb(157, 44, 170)
HSLhsl(294, 59%, 42%)
HSVhsv(294, 74%, 67%)
CMYKcmyk(7.6%, 74.1%, 0%, 33.3%)
CIE-LABlab(41.01, 61.53, -43.92)
CIE-LCHlch(41.01, 75.59, 324.48°)
OKLaboklab(51.85% 0.165 -0.1226)
OKLCHoklch(51.85% 0.206 323.4)
XYZxyz(22.0603, 11.8731, 39.1522)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2CAA #39AA2C
analogous
#5E2CAA #9D2CAA #AA2C78
triadic
#9D2CAA #AA9D2C #2CAA9D
tetradic
#9D2CAA #AA5E2C #39AA2C #2C78AA
square
#9D2CAA #AA5E2C #39AA2C #2C78AA
split-complementary
#9D2CAA #78AA2C #2CAA5E
monochromatic
#431349 #701F79 #9D2CAA #C044CF #D175DB

Accessibility & contrast

On white

6.22
#9D2CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9D2CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2CAA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2CAA#FFFFFF#000000##FFFFFF
##9D2CAA1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#4265A7
Tritanopia (blue-blind)
#A04369
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d2caa;
/* rgb */ color: rgb(157, 44, 170);
/* oklch */ color: oklch(51.8% 0.206 323.4);
Tailwind
colors: {
  custom: {
    50: '#be71c4',
    500: '#9d2caa',
    950: '#000000',
  },
}
SCSS
$custom: #9d2caa;
$custom-light: #be71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2caa",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 293.81,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51845,
    "c": 0.20555,
    "h": 323.4
  },
  "luminance": 0.11872
}

Semantic roles & 50–950 ramp

primary
#9D2CAA
secondary
#78C36F
accent
#E24656
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9D2CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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