#9D2CA5#9D2CA5

#9D2CA5 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.5% C 0.201 H 325.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9D2CA5
RGBrgb(157, 44, 165)
HSLhsl(296, 58%, 41%)
HSVhsv(296, 73%, 65%)
CMYKcmyk(4.8%, 73.3%, 0%, 35.3%)
CIE-LABlab(40.72, 60.64, -41.41)
CIE-LCHlch(40.72, 73.44, 325.67°)
OKLaboklab(51.54% 0.1652 -0.1153)
OKLCHoklch(51.54% 0.201 325.1)
XYZxyz(21.5963, 11.6875, 36.7084)
Luminance0.1169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2CA5 #34A52C
analogous
#602CA5 #9D2CA5 #A52C70
triadic
#9D2CA5 #A59D2C #2CA59D
tetradic
#9D2CA5 #A5602C #34A52C #2C70A5
square
#9D2CA5 #A5602C #34A52C #2C70A5
split-complementary
#9D2CA5 #70A52C #2CA560
monochromatic
#411244 #6F1F75 #9D2CA5 #C342CD #D372D9

Accessibility & contrast

On white

6.29
#9D2CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9D2CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2CA5
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2CA5#FFFFFF#000000##FFFFFF
##9D2CA51.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0357A8
Deuteranopia (green-blind)
#4565A2
Tritanopia (blue-blind)
#A14166
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d2ca5;
/* rgb */ color: rgb(157, 44, 165);
/* oklch */ color: oklch(51.5% 0.201 325.1);
Tailwind
colors: {
  custom: {
    50: '#be71c0',
    500: '#9d2ca5',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ca5;
$custom-light: #be71c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ca5",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 296.033,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51536,
    "c": 0.20145,
    "h": 325.1
  },
  "luminance": 0.11686
}

Semantic roles & 50–950 ramp

primary
#9D2CA5
secondary
#72C16C
accent
#E14751
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D2CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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