#9D1A88#9D1A88

#9D1A88 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.6% C 0.197 H 336.1°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9D1A88
RGBrgb(157, 26, 136)
HSLhsl(310, 72%, 36%)
HSVhsv(310, 83%, 62%)
CMYKcmyk(0%, 83.4%, 13.4%, 38.4%)
CIE-LABlab(37.27, 61.27, -29.25)
CIE-LCHlch(37.27, 67.90, 334.48°)
OKLaboklab(48.56% 0.1801 -0.0799)
OKLCHoklch(48.56% 0.197 336.1)
XYZxyz(18.7183, 9.6863, 24.1716)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A88 #1A9D2F
analogous
#701A9D #9D1A88 #9D1A46
triadic
#9D1A88 #889D1A #1A889D
tetradic
#9D1A88 #9D701A #1A9D2F #1A469D
square
#9D1A88 #9D701A #1A9D2F #1A469D
split-complementary
#9D1A88 #469D1A #1A9D70
monochromatic
#34092D #68115B #9D1A88 #D223B5 #E24FCA

Accessibility & contrast

On white

7.15
#9D1A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9D1A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1A88
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A88#FFFFFF#000000##FFFFFF
##9D1A881.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4B8B
Deuteranopia (green-blind)
#4E5E85
Tritanopia (blue-blind)
#A52652
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d1a88;
/* rgb */ color: rgb(157, 26, 136);
/* oklch */ color: oklch(48.6% 0.197 336.1);
Tailwind
colors: {
  custom: {
    50: '#be69ab',
    500: '#9d1a88',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a88;
$custom-light: #be69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a88",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 136
  },
  "hsl": {
    "h": 309.618,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48556,
    "c": 0.19702,
    "h": 336.1
  },
  "luminance": 0.09684
}

Semantic roles & 50–950 ramp

primary
#9D1A88
secondary
#4EC461
accent
#EE5639
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D1A88

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

Preview Lab → · Contrast checker → · Palette generator →

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