#9D2B9B#9D2B9B

#9D2B9B is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.195 H 328.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9D2B9B
RGBrgb(157, 43, 155)
HSLhsl(301, 57%, 39%)
HSVhsv(301, 73%, 62%)
CMYKcmyk(0%, 72.6%, 1.3%, 38.4%)
CIE-LABlab(40.02, 59.28, -36.51)
CIE-LCHlch(40.02, 69.62, 328.37°)
OKLaboklab(50.86% 0.1663 -0.101)
OKLCHoklch(50.86% 0.195 328.7)
XYZxyz(20.6847, 11.2639, 32.0887)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2B9B #2B9D2D
analogous
#662B9D #9D2B9B #9D2B62
triadic
#9D2B9B #9B9D2B #2B9B9D
tetradic
#9D2B9B #9D662B #2B9D2D #2B629D
square
#9D2B9B #9D662B #2B9D2D #2B629D
split-complementary
#9D2B9B #629D2B #2B9D66
monochromatic
#3D113C #6D1E6C #9D2B9B #CA3CC7 #D76CD5

Accessibility & contrast

On white

6.46
#9D2B9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9D2B9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2B9B
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2B9B#FFFFFF#000000##FFFFFF
##9D2B9B1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19559E
Deuteranopia (green-blind)
#4B6498
Tritanopia (blue-blind)
#A23B60
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d2b9b;
/* rgb */ color: rgb(157, 43, 155);
/* oklch */ color: oklch(50.9% 0.195 328.7);
Tailwind
colors: {
  custom: {
    50: '#bd70b9',
    500: '#9d2b9b',
    950: '#000000',
  },
}
SCSS
$custom: #9d2b9b;
$custom-light: #bd70b9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2b9b",
  "rgb": {
    "r": 157,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 301.053,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50855,
    "c": 0.19455,
    "h": 328.7
  },
  "luminance": 0.11262
}

Semantic roles & 50–950 ramp

primary
#9D2B9B
secondary
#66BD68
accent
#E04A48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D2B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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