#9D2DA5#9D2DA5

#9D2DA5 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.6% C 0.200 H 325.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9D2DA5
RGBrgb(157, 45, 165)
HSLhsl(296, 57%, 41%)
HSVhsv(296, 73%, 65%)
CMYKcmyk(4.8%, 72.7%, 0%, 35.3%)
CIE-LABlab(40.84, 60.30, -41.22)
CIE-LCHlch(40.84, 73.04, 325.64°)
OKLaboklab(51.62% 0.1643 -0.1147)
OKLCHoklch(51.62% 0.2 325.1)
XYZxyz(21.6340, 11.7629, 36.7210)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2DA5 #35A52D
analogous
#612DA5 #9D2DA5 #A52D71
triadic
#9D2DA5 #A59D2D #2DA59D
tetradic
#9D2DA5 #A5612D #35A52D #2D71A5
square
#9D2DA5 #A5612D #35A52D #2D71A5
split-complementary
#9D2DA5 #71A52D #2DA561
monochromatic
#411345 #6F2075 #9D2DA5 #C343CC #D273D9

Accessibility & contrast

On white

6.26
#9D2DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9D2DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2DA5
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2DA5#FFFFFF#000000##FFFFFF
##9D2DA51.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0658A8
Deuteranopia (green-blind)
#4665A2
Tritanopia (blue-blind)
#A14166
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d2da5;
/* rgb */ color: rgb(157, 45, 165);
/* oklch */ color: oklch(51.6% 0.200 325.1);
Tailwind
colors: {
  custom: {
    50: '#be71c0',
    500: '#9d2da5',
    950: '#000000',
  },
}
SCSS
$custom: #9d2da5;
$custom-light: #be71c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2da5",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 296,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51623,
    "c": 0.20034,
    "h": 325.1
  },
  "luminance": 0.11761
}

Semantic roles & 50–950 ramp

primary
#9D2DA5
secondary
#73C16D
accent
#E04752
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D2DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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