#9D1CA9#9D1CA9

#9D1CA9 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.6% C 0.219 H 324.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9D1CA9
RGBrgb(157, 28, 169)
HSLhsl(295, 72%, 39%)
HSVhsv(295, 83%, 66%)
CMYKcmyk(7.1%, 83.4%, 0%, 33.7%)
CIE-LABlab(39.35, 65.98, -45.99)
CIE-LCHlch(39.35, 80.42, 325.12°)
OKLaboklab(50.65% 0.1777 -0.1285)
OKLCHoklch(50.65% 0.219 324.1)
XYZxyz(21.4807, 10.8646, 38.4941)
Luminance0.1086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1CA9 #28A91C
analogous
#561CA9 #9D1CA9 #A91C6E
triadic
#9D1CA9 #A99D1C #1CA99D
tetradic
#9D1CA9 #A9561C #28A91C #1C6EA9
square
#9D1CA9 #A9561C #28A91C #1C6EA9
split-complementary
#9D1CA9 #6EA91C #1CA956
monochromatic
#3B0B40 #6C1374 #9D1CA9 #CC27DB #D85BE4

Accessibility & contrast

On white

6.62
#9D1CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9D1CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1CA9
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1CA9#FFFFFF#000000##FFFFFF
##9D1CA91.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#3B62A6
Tritanopia (blue-blind)
#A03A65
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d1ca9;
/* rgb */ color: rgb(157, 28, 169);
/* oklch */ color: oklch(50.6% 0.219 324.1);
Tailwind
colors: {
  custom: {
    50: '#be6bc3',
    500: '#9d1ca9',
    950: '#000000',
  },
}
SCSS
$custom: #9d1ca9;
$custom-light: #be6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1ca9",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 294.894,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50647,
    "c": 0.21932,
    "h": 324.1
  },
  "luminance": 0.10863
}

Semantic roles & 50–950 ramp

primary
#9D1CA9
secondary
#62C859
accent
#EE3949
background
#FCF6FC
surface
#F8ECF8
border
#D1C7D1
text
#130812
muted
#827A81

Preview Lab

Preview with #9D1CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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