#9D2D8D#9D2D8D

#9D2D8D is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.3% C 0.181 H 334.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9D2D8D
RGBrgb(157, 45, 141)
HSLhsl(309, 55%, 40%)
HSVhsv(309, 71%, 62%)
CMYKcmyk(0%, 71.3%, 10.2%, 38.4%)
CIE-LABlab(39.53, 56.30, -28.78)
CIE-LCHlch(39.53, 63.23, 332.93°)
OKLaboklab(50.26% 0.1635 -0.0787)
OKLCHoklch(50.26% 0.181 334.3)
XYZxyz(19.6509, 10.9696, 26.2765)
Luminance0.1097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2D8D #2D9D3D
analogous
#752D9D #9D2D8D #9D2D55
triadic
#9D2D8D #8D9D2D #2D8D9D
tetradic
#9D2D8D #9D752D #2D9D3D #2D559D
square
#9D2D8D #9D752D #2D9D3D #2D559D
split-complementary
#9D2D8D #559D2D #2D9D75
monochromatic
#3E1238 #6D1F62 #9D2D8D #C83FB4 #D66FC7

Accessibility & contrast

On white

6.58
#9D2D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9D2D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2D8D
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2D8D#FFFFFF#000000##FFFFFF
##9D2D8D1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5390
Deuteranopia (green-blind)
#53638A
Tritanopia (blue-blind)
#A43659
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d2d8d;
/* rgb */ color: rgb(157, 45, 141);
/* oklch */ color: oklch(50.3% 0.181 334.3);
Tailwind
colors: {
  custom: {
    50: '#bd70ae',
    500: '#9d2d8d',
    950: '#000000',
  },
}
SCSS
$custom: #9d2d8d;
$custom-light: #bd70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2d8d",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 308.571,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5026,
    "c": 0.18146,
    "h": 334.3
  },
  "luminance": 0.10968
}

Semantic roles & 50–950 ramp

primary
#9D2D8D
secondary
#69BD75
accent
#DF5E49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9D2D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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