#9D2CA3#9D2CA3

#9D2CA3 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.4% C 0.200 H 325.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9D2CA3
RGBrgb(157, 44, 163)
HSLhsl(297, 57%, 41%)
HSVhsv(297, 73%, 64%)
CMYKcmyk(3.7%, 73%, 0%, 36.1%)
CIE-LABlab(40.60, 60.30, -40.40)
CIE-LCHlch(40.60, 72.58, 326.18°)
OKLaboklab(51.42% 0.1653 -0.1123)
OKLCHoklch(51.42% 0.2 325.8)
XYZxyz(21.4157, 11.6152, 35.7572)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2CA3 #32A32C
analogous
#612CA3 #9D2CA3 #A32C6D
triadic
#9D2CA3 #A39D2C #2CA39D
tetradic
#9D2CA3 #A3612C #32A32C #2C6DA3
square
#9D2CA3 #A3612C #32A32C #2C6DA3
split-complementary
#9D2CA3 #6DA32C #2CA361
monochromatic
#401243 #6F1F73 #9D2CA3 #C541CC #D371D9

Accessibility & contrast

On white

6.32
#9D2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9D2CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2CA3
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2CA3#FFFFFF#000000##FFFFFF
##9D2CA31.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0957A6
Deuteranopia (green-blind)
#4664A0
Tritanopia (blue-blind)
#A14065
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d2ca3;
/* rgb */ color: rgb(157, 44, 163);
/* oklch */ color: oklch(51.4% 0.200 325.8);
Tailwind
colors: {
  custom: {
    50: '#be71bf',
    500: '#9d2ca3',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ca3;
$custom-light: #be71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ca3",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 296.975,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51415,
    "c": 0.19983,
    "h": 325.8
  },
  "luminance": 0.11614
}

Semantic roles & 50–950 ramp

primary
#9D2CA3
secondary
#6FC06B
accent
#E1474F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D2CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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