#9D2DA6#9D2DA6

#9D2DA6 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.201 H 324.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9D2DA6
RGBrgb(157, 45, 166)
HSLhsl(296, 57%, 41%)
HSVhsv(296, 73%, 65%)
CMYKcmyk(5.4%, 72.9%, 0%, 34.9%)
CIE-LABlab(40.90, 60.47, -41.72)
CIE-LCHlch(40.90, 73.47, 325.40°)
OKLaboklab(51.68% 0.1642 -0.1162)
OKLCHoklch(51.68% 0.201 324.7)
XYZxyz(21.7254, 11.7994, 37.2022)
Luminance0.1180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2DA6 #36A62D
analogous
#612DA6 #9D2DA6 #A62D73
triadic
#9D2DA6 #A69D2D #2DA69D
tetradic
#9D2DA6 #A6612D #36A62D #2D73A6
square
#9D2DA6 #A6612D #36A62D #2D73A6
split-complementary
#9D2DA6 #73A62D #2DA661
monochromatic
#421346 #6F2076 #9D2DA6 #C244CC #D274D9

Accessibility & contrast

On white

6.25
#9D2DA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9D2DA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2DA6
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2DA6#FFFFFF#000000##FFFFFF
##9D2DA61.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0358A9
Deuteranopia (green-blind)
#4565A3
Tritanopia (blue-blind)
#A04267
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d2da6;
/* rgb */ color: rgb(157, 45, 166);
/* oklch */ color: oklch(51.7% 0.201 324.7);
Tailwind
colors: {
  custom: {
    50: '#be71c1',
    500: '#9d2da6',
    950: '#000000',
  },
}
SCSS
$custom: #9d2da6;
$custom-light: #be71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2da6",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 166
  },
  "hsl": {
    "h": 295.537,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51684,
    "c": 0.20116,
    "h": 324.7
  },
  "luminance": 0.11798
}

Semantic roles & 50–950 ramp

primary
#9D2DA6
secondary
#74C16E
accent
#E14753
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D2DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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