#9D1CA1#9D1CA1

#9D1CA1 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.213 H 326.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9D1CA1
RGBrgb(157, 28, 161)
HSLhsl(298, 70%, 37%)
HSVhsv(298, 83%, 63%)
CMYKcmyk(2.5%, 82.6%, 0%, 36.9%)
CIE-LABlab(38.85, 64.65, -41.98)
CIE-LCHlch(38.85, 77.08, 327.00°)
OKLaboklab(50.14% 0.1785 -0.1168)
OKLCHoklch(50.14% 0.213 326.8)
XYZxyz(20.7526, 10.5733, 34.6591)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1CA1 #20A11C
analogous
#5A1CA1 #9D1CA1 #A11C63
triadic
#9D1CA1 #A19D1C #1CA19D
tetradic
#9D1CA1 #A15A1C #20A11C #1C63A1
square
#9D1CA1 #A15A1C #20A11C #1C63A1
split-complementary
#9D1CA1 #63A11C #1CA15A
monochromatic
#370A39 #6A136D #9D1CA1 #D025D5 #DD56E2

Accessibility & contrast

On white

6.74
#9D1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9D1CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1CA1
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1CA1#FFFFFF#000000##FFFFFF
##9D1CA11.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#41619E
Tritanopia (blue-blind)
#A13660
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d1ca1;
/* rgb */ color: rgb(157, 28, 161);
/* oklch */ color: oklch(50.1% 0.213 326.8);
Tailwind
colors: {
  custom: {
    50: '#be6bbd',
    500: '#9d1ca1',
    950: '#000000',
  },
}
SCSS
$custom: #9d1ca1;
$custom-light: #be6bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1ca1",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 298.195,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.50135,
    "c": 0.2133,
    "h": 326.8
  },
  "luminance": 0.10572
}

Semantic roles & 50–950 ramp

primary
#9D1CA1
secondary
#57C554
accent
#ED3B40
background
#FCF6FB
surface
#F8ECF7
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9D1CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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