#9D2CB5#9D2CB5

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

Color values

HEX#9D2CB5
RGBrgb(157, 44, 181)
HSLhsl(289, 61%, 44%)
HSVhsv(289, 76%, 71%)
CMYKcmyk(13.3%, 75.7%, 0%, 29%)
CIE-LABlab(41.70, 63.52, -49.34)
CIE-LCHlch(41.70, 80.44, 322.16°)
OKLaboklab(52.55% 0.1641 -0.1384)
OKLCHoklch(52.55% 0.215 319.9)
XYZxyz(23.1448, 12.3068, 44.8634)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2CB5 #44B52C
analogous
#592CB5 #9D2CB5 #B52C89
triadic
#9D2CB5 #B59D2C #2CB59D
tetradic
#9D2CB5 #B5592C #44B52C #2C89B5
square
#9D2CB5 #B5592C #44B52C #2C89B5
split-complementary
#9D2CB5 #89B52C #2CB559
monochromatic
#481453 #722084 #9D2CB5 #BB4BD3 #CE7CDF

Accessibility & contrast

On white

6.07
#9D2CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2CB5
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2CB5#FFFFFF#000000##FFFFFF
##9D2CB51.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#3866B2
Tritanopia (blue-blind)
#9D486F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d2cb5;
/* rgb */ color: rgb(157, 44, 181);
/* oklch */ color: oklch(52.6% 0.215 319.9);
Tailwind
colors: {
  custom: {
    50: '#be72cc',
    500: '#9d2cb5',
    950: '#000000',
  },
}
SCSS
$custom: #9d2cb5;
$custom-light: #be72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2cb5",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 289.489,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52552,
    "c": 0.21471,
    "h": 319.9
  },
  "luminance": 0.12306
}

Semantic roles & 50–950 ramp

primary
#9D2CB5
secondary
#84C875
accent
#E44460
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9D2CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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