#9D2CBC#9D2CBC

#9D2CBC is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.221 H 317.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9D2CBC
RGBrgb(157, 44, 188)
HSLhsl(287, 62%, 45%)
HSVhsv(287, 77%, 74%)
CMYKcmyk(16.5%, 76.6%, 0%, 26.3%)
CIE-LABlab(42.16, 64.83, -52.73)
CIE-LCHlch(42.16, 83.57, 320.88°)
OKLaboklab(53.02% 0.1633 -0.1483)
OKLCHoklch(53.02% 0.221 317.7)
XYZxyz(23.8811, 12.6014, 48.7416)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2CBC #4BBC2C
analogous
#552CBC #9D2CBC #BC2C93
triadic
#9D2CBC #BC9D2C #2CBC9D
tetradic
#9D2CBC #BC552C #4BBC2C #2C93BC
square
#9D2CBC #BC552C #4BBC2C #2C93BC
split-complementary
#9D2CBC #93BC2C #2CBC55
monochromatic
#4A1559 #74208A #9D2CBC #B94FD6 #CD81E1

Accessibility & contrast

On white

5.97
#9D2CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9D2CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2CBC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2CBC#FFFFFF#000000##FFFFFF
##9D2CBC1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#3167B9
Tritanopia (blue-blind)
#9C4B73
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9d2cbc;
/* rgb */ color: rgb(157, 44, 188);
/* oklch */ color: oklch(53.0% 0.221 317.7);
Tailwind
colors: {
  custom: {
    50: '#be72d1',
    500: '#9d2cbc',
    950: '#000000',
  },
}
SCSS
$custom: #9d2cbc;
$custom-light: #be72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2cbc",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 188
  },
  "hsl": {
    "h": 287.083,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53021,
    "c": 0.22061,
    "h": 317.7
  },
  "luminance": 0.126
}

Semantic roles & 50–950 ramp

primary
#9D2CBC
secondary
#8BCA79
accent
#E54366
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D2CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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