#9D2BB7#9D2BB7

#9D2BB7 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.217 H 319.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9D2BB7
RGBrgb(157, 43, 183)
HSLhsl(289, 62%, 44%)
HSVhsv(289, 77%, 72%)
CMYKcmyk(14.2%, 76.5%, 0%, 28.2%)
CIE-LABlab(41.71, 64.23, -50.50)
CIE-LCHlch(41.71, 81.70, 321.82°)
OKLaboklab(52.6% 0.1648 -0.1418)
OKLCHoklch(52.6% 0.217 319.3)
XYZxyz(23.3146, 12.3159, 45.9397)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2BB7 #45B72B
analogous
#572BB7 #9D2BB7 #B72B8B
triadic
#9D2BB7 #B79D2B #2BB79D
tetradic
#9D2BB7 #B7572B #45B72B #2B8BB7
square
#9D2BB7 #B7572B #45B72B #2B8BB7
split-complementary
#9D2BB7 #8BB72B #2BB757
monochromatic
#481454 #721F85 #9D2BB7 #BB4BD5 #CE7CE0

Accessibility & contrast

On white

6.06
#9D2BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9D2BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2BB7
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2BB7#FFFFFF#000000##FFFFFF
##9D2BB71.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#3666B4
Tritanopia (blue-blind)
#9D4970
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d2bb7;
/* rgb */ color: rgb(157, 43, 183);
/* oklch */ color: oklch(52.6% 0.217 319.3);
Tailwind
colors: {
  custom: {
    50: '#be71cd',
    500: '#9d2bb7',
    950: '#000000',
  },
}
SCSS
$custom: #9d2bb7;
$custom-light: #be71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2bb7",
  "rgb": {
    "r": 157,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 288.857,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52603,
    "c": 0.2174,
    "h": 319.3
  },
  "luminance": 0.12315
}

Semantic roles & 50–950 ramp

primary
#9D2BB7
secondary
#85C975
accent
#E54361
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9D2BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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