#9D2CA6#9D2CA6

#9D2CA6 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.202 H 324.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9D2CA6
RGBrgb(157, 44, 166)
HSLhsl(296, 58%, 41%)
HSVhsv(296, 73%, 65%)
CMYKcmyk(5.4%, 73.5%, 0%, 34.9%)
CIE-LABlab(40.77, 60.82, -41.92)
CIE-LCHlch(40.77, 73.87, 325.43°)
OKLaboklab(51.6% 0.1652 -0.1167)
OKLCHoklch(51.6% 0.202 324.8)
XYZxyz(21.6877, 11.7240, 37.1896)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2CA6 #35A62C
analogous
#602CA6 #9D2CA6 #A62C72
triadic
#9D2CA6 #A69D2C #2CA69D
tetradic
#9D2CA6 #A6602C #35A62C #2C72A6
square
#9D2CA6 #A6602C #35A62C #2C72A6
split-complementary
#9D2CA6 #72A62C #2CA660
monochromatic
#411245 #6F1F76 #9D2CA6 #C342CD #D273DA

Accessibility & contrast

On white

6.28
#9D2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2CA6
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2CA6#FFFFFF#000000##FFFFFF
##9D2CA61.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#4465A3
Tritanopia (blue-blind)
#A04167
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d2ca6;
/* rgb */ color: rgb(157, 44, 166);
/* oklch */ color: oklch(51.6% 0.202 324.8);
Tailwind
colors: {
  custom: {
    50: '#be71c1',
    500: '#9d2ca6',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ca6;
$custom-light: #be71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ca6",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 295.574,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51597,
    "c": 0.20227,
    "h": 324.8
  },
  "luminance": 0.11723
}

Semantic roles & 50–950 ramp

primary
#9D2CA6
secondary
#73C16D
accent
#E14652
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D2CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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