#9D1CB4#9D1CB4

#9D1CB4 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.4% C 0.228 H 320.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9D1CB4
RGBrgb(157, 28, 180)
HSLhsl(291, 73%, 41%)
HSVhsv(291, 84%, 71%)
CMYKcmyk(12.8%, 84.4%, 0%, 29.4%)
CIE-LABlab(40.07, 67.87, -51.37)
CIE-LCHlch(40.07, 85.12, 322.88°)
OKLaboklab(51.38% 0.1762 -0.1443)
OKLCHoklch(51.38% 0.228 320.7)
XYZxyz(22.5571, 11.2952, 44.1632)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1CB4 #33B41C
analogous
#511CB4 #9D1CB4 #B41C7F
triadic
#9D1CB4 #B49D1C #1CB49D
tetradic
#9D1CB4 #B4511C #33B41C #1C7FB4
square
#9D1CB4 #B4511C #33B41C #1C7FB4
split-complementary
#9D1CB4 #7FB41C #1CB451
monochromatic
#410C4A #6F147F #9D1CB4 #C42FDF #D364E7

Accessibility & contrast

On white

6.44
#9D1CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9D1CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1CB4
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1CB4#FFFFFF#000000##FFFFFF
##9D1CB41.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#3063B1
Tritanopia (blue-blind)
#9E406B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d1cb4;
/* rgb */ color: rgb(157, 28, 180);
/* oklch */ color: oklch(51.4% 0.228 320.7);
Tailwind
colors: {
  custom: {
    50: '#be6ccb',
    500: '#9d1cb4',
    950: '#000000',
  },
}
SCSS
$custom: #9d1cb4;
$custom-light: #be6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1cb4",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 290.921,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51384,
    "c": 0.22774,
    "h": 320.7
  },
  "luminance": 0.11294
}

Semantic roles & 50–950 ramp

primary
#9D1CB4
secondary
#70CC60
accent
#F03854
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130813
muted
#827B82

Preview Lab

Preview with #9D1CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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