#9D2CA4#9D2CA4

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

Color values

HEX#9D2CA4
RGBrgb(157, 44, 164)
HSLhsl(297, 58%, 41%)
HSVhsv(297, 73%, 64%)
CMYKcmyk(4.3%, 73.2%, 0%, 35.7%)
CIE-LABlab(40.66, 60.47, -40.91)
CIE-LCHlch(40.66, 73.01, 325.92°)
OKLaboklab(51.48% 0.1653 -0.1138)
OKLCHoklch(51.48% 0.201 325.4)
XYZxyz(21.5057, 11.6512, 36.2309)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2CA4 #33A42C
analogous
#612CA4 #9D2CA4 #A42C6F
triadic
#9D2CA4 #A49D2C #2CA49D
tetradic
#9D2CA4 #A4612C #33A42C #2C6FA4
square
#9D2CA4 #A4612C #33A42C #2C6FA4
split-complementary
#9D2CA4 #6FA42C #2CA461
monochromatic
#411243 #6F1F74 #9D2CA4 #C441CC #D371D9

Accessibility & contrast

On white

6.31
#9D2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9D2CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2CA4
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2CA4#FFFFFF#000000##FFFFFF
##9D2CA41.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0657A7
Deuteranopia (green-blind)
#4665A1
Tritanopia (blue-blind)
#A14066
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d2ca4;
/* rgb */ color: rgb(157, 44, 164);
/* oklch */ color: oklch(51.5% 0.201 325.4);
Tailwind
colors: {
  custom: {
    50: '#be71bf',
    500: '#9d2ca4',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ca4;
$custom-light: #be71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ca4",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 296.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51475,
    "c": 0.20064,
    "h": 325.4
  },
  "luminance": 0.1165
}

Semantic roles & 50–950 ramp

primary
#9D2CA4
secondary
#70C06B
accent
#E14750
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D2CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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