#9D2CB3#9D2CB3

#9D2CB3 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.213 H 320.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9D2CB3
RGBrgb(157, 44, 179)
HSLhsl(290, 61%, 44%)
HSVhsv(290, 75%, 70%)
CMYKcmyk(12.3%, 75.4%, 0%, 29.8%)
CIE-LABlab(41.57, 63.16, -48.37)
CIE-LCHlch(41.57, 79.55, 322.55°)
OKLaboklab(52.42% 0.1643 -0.1356)
OKLCHoklch(52.42% 0.213 320.5)
XYZxyz(22.9410, 12.2253, 43.7904)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2CB3 #42B32C
analogous
#592CB3 #9D2CB3 #B32C85
triadic
#9D2CB3 #B39D2C #2CB39D
tetradic
#9D2CB3 #B3592C #42B32C #2C85B3
square
#9D2CB3 #B3592C #42B32C #2C85B3
split-complementary
#9D2CB3 #85B32C #2CB359
monochromatic
#471451 #722082 #9D2CB3 #BC4AD2 #CE7BDF

Accessibility & contrast

On white

6.10
#9D2CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9D2CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2CB3
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2CB3#FFFFFF#000000##FFFFFF
##9D2CB31.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#3A66B0
Tritanopia (blue-blind)
#9E476E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d2cb3;
/* rgb */ color: rgb(157, 44, 179);
/* oklch */ color: oklch(52.4% 0.213 320.5);
Tailwind
colors: {
  custom: {
    50: '#be71ca',
    500: '#9d2cb3',
    950: '#000000',
  },
}
SCSS
$custom: #9d2cb3;
$custom-light: #be71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2cb3",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 290.222,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52421,
    "c": 0.21303,
    "h": 320.5
  },
  "luminance": 0.12224
}

Semantic roles & 50–950 ramp

primary
#9D2CB3
secondary
#82C774
accent
#E4445E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9D2CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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