#9D2CB6#9D2CB6

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

Color values

HEX#9D2CB6
RGBrgb(157, 44, 182)
HSLhsl(289, 61%, 44%)
HSVhsv(289, 76%, 71%)
CMYKcmyk(13.7%, 75.8%, 0%, 28.6%)
CIE-LABlab(41.76, 63.71, -49.83)
CIE-LCHlch(41.76, 80.88, 321.97°)
OKLaboklab(52.62% 0.164 -0.1399)
OKLCHoklch(52.62% 0.216 319.5)
XYZxyz(23.2477, 12.3480, 45.4058)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2CB6 #45B62C
analogous
#582CB6 #9D2CB6 #B62C8A
triadic
#9D2CB6 #B69D2C #2CB69D
tetradic
#9D2CB6 #B6582C #45B62C #2C8AB6
square
#9D2CB6 #B6582C #45B62C #2C8AB6
split-complementary
#9D2CB6 #8AB62C #2CB658
monochromatic
#481453 #722085 #9D2CB6 #BB4CD4 #CE7DE0

Accessibility & contrast

On white

6.05
#9D2CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9D2CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2CB6
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2CB6#FFFFFF#000000##FFFFFF
##9D2CB61.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#3866B3
Tritanopia (blue-blind)
#9D4970
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9d2cb6;
/* rgb */ color: rgb(157, 44, 182);
/* oklch */ color: oklch(52.6% 0.216 319.5);
Tailwind
colors: {
  custom: {
    50: '#be72cd',
    500: '#9d2cb6',
    950: '#000000',
  },
}
SCSS
$custom: #9d2cb6;
$custom-light: #be72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2cb6",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 289.13,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52618,
    "c": 0.21555,
    "h": 319.5
  },
  "luminance": 0.12347
}

Semantic roles & 50–950 ramp

primary
#9D2CB6
secondary
#85C876
accent
#E44461
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9D2CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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