#9D2A99#9D2A99

#9D2A99 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.7% C 0.194 H 329.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9D2A99
RGBrgb(157, 42, 153)
HSLhsl(302, 58%, 39%)
HSVhsv(302, 73%, 62%)
CMYKcmyk(0%, 73.2%, 2.5%, 38.4%)
CIE-LABlab(39.79, 59.29, -35.66)
CIE-LCHlch(39.79, 69.19, 328.97°)
OKLaboklab(50.65% 0.1672 -0.0985)
OKLCHoklch(50.65% 0.194 329.5)
XYZxyz(20.4822, 11.1255, 31.1995)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2A99 #2A9D2E
analogous
#682A9D #9D2A99 #9D2A60
triadic
#9D2A99 #999D2A #2A999D
tetradic
#9D2A99 #9D682A #2A9D2E #2A609D
square
#9D2A99 #9D682A #2A9D2E #2A609D
split-complementary
#9D2A99 #609D2A #2A9D68
monochromatic
#3C103B #6D1D6A #9D2A99 #CA3AC5 #D76AD3

Accessibility & contrast

On white

6.51
#9D2A99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9D2A99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2A99
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2A99#FFFFFF#000000##FFFFFF
##9D2A991.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A549C
Deuteranopia (green-blind)
#4B6396
Tritanopia (blue-blind)
#A33A5F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d2a99;
/* rgb */ color: rgb(157, 42, 153);
/* oklch */ color: oklch(50.7% 0.194 329.5);
Tailwind
colors: {
  custom: {
    50: '#bd70b7',
    500: '#9d2a99',
    950: '#000000',
  },
}
SCSS
$custom: #9d2a99;
$custom-light: #bd70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2a99",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 302.087,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50654,
    "c": 0.1941,
    "h": 329.5
  },
  "luminance": 0.11124
}

Semantic roles & 50–950 ramp

primary
#9D2A99
secondary
#65BE68
accent
#E14C47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D2A99

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

Preview Lab → · Contrast checker → · Palette generator →

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