#9D2DA9#9D2DA9

#9D2DA9 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.204 H 323.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9D2DA9
RGBrgb(157, 45, 169)
HSLhsl(294, 58%, 42%)
HSVhsv(294, 73%, 66%)
CMYKcmyk(7.1%, 73.4%, 0%, 33.7%)
CIE-LABlab(41.07, 61.00, -43.23)
CIE-LCHlch(41.07, 74.77, 324.68°)
OKLaboklab(51.87% 0.1641 -0.1206)
OKLCHoklch(51.87% 0.204 323.7)
XYZxyz(22.0038, 11.9108, 38.6685)
Luminance0.1191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2DA9 #39A92D
analogous
#5F2DA9 #9D2DA9 #A92D77
triadic
#9D2DA9 #A99D2D #2DA99D
tetradic
#9D2DA9 #A95F2D #39A92D #2D77A9
square
#9D2DA9 #A95F2D #39A92D #2D77A9
split-complementary
#9D2DA9 #77A92D #2DA95F
monochromatic
#431348 #702079 #9D2DA9 #C046CE #D176DA

Accessibility & contrast

On white

6.21
#9D2DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9D2DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2DA9
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2DA9#FFFFFF#000000##FFFFFF
##9D2DA91.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#4365A6
Tritanopia (blue-blind)
#A04369
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d2da9;
/* rgb */ color: rgb(157, 45, 169);
/* oklch */ color: oklch(51.9% 0.204 323.7);
Tailwind
colors: {
  custom: {
    50: '#be72c3',
    500: '#9d2da9',
    950: '#000000',
  },
}
SCSS
$custom: #9d2da9;
$custom-light: #be72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2da9",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 294.194,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51869,
    "c": 0.20363,
    "h": 323.7
  },
  "luminance": 0.11909
}

Semantic roles & 50–950 ramp

primary
#9D2DA9
secondary
#78C26F
accent
#E14756
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #9D2DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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