#9D2D8E#9D2D8E

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

Color values

HEX#9D2D8E
RGBrgb(157, 45, 142)
HSLhsl(308, 55%, 40%)
HSVhsv(308, 71%, 62%)
CMYKcmyk(0%, 71.3%, 9.6%, 38.4%)
CIE-LABlab(39.58, 56.46, -29.31)
CIE-LCHlch(39.58, 63.62, 332.57°)
OKLaboklab(50.31% 0.1636 -0.0802)
OKLCHoklch(50.31% 0.182 333.9)
XYZxyz(19.7256, 10.9995, 26.6702)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2D8E #2D9D3C
analogous
#742D9D #9D2D8E #9D2D56
triadic
#9D2D8E #8E9D2D #2D8E9D
tetradic
#9D2D8E #9D742D #2D9D3C #2D569D
square
#9D2D8E #9D742D #2D9D3C #2D569D
split-complementary
#9D2D8E #569D2D #2D9D74
monochromatic
#3E1238 #6D1F63 #9D2D8E #C83FB6 #D66FC8

Accessibility & contrast

On white

6.56
#9D2D8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9D2D8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2D8E
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2D8E#FFFFFF#000000##FFFFFF
##9D2D8E1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5391
Deuteranopia (green-blind)
#52638B
Tritanopia (blue-blind)
#A4375A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d2d8e;
/* rgb */ color: rgb(157, 45, 142);
/* oklch */ color: oklch(50.3% 0.182 333.9);
Tailwind
colors: {
  custom: {
    50: '#bd70af',
    500: '#9d2d8e',
    950: '#000000',
  },
}
SCSS
$custom: #9d2d8e;
$custom-light: #bd70af;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2d8e",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 308.036,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50313,
    "c": 0.18221,
    "h": 333.9
  },
  "luminance": 0.10998
}

Semantic roles & 50–950 ramp

primary
#9D2D8E
secondary
#69BD74
accent
#DF5D49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9D2D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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