#9B2DAD#9B2DAD

#9B2DAD is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.206 H 321.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9B2DAD
RGBrgb(155, 45, 173)
HSLhsl(292, 59%, 43%)
HSVhsv(292, 74%, 68%)
CMYKcmyk(10.4%, 74%, 0%, 32.2%)
CIE-LABlab(41.00, 61.30, -45.75)
CIE-LCHlch(41.00, 76.49, 323.27°)
OKLaboklab(51.83% 0.1616 -0.128)
OKLCHoklch(51.83% 0.206 321.6)
XYZxyz(21.9980, 11.8637, 40.6583)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2DAD #3FAD2D
analogous
#5B2DAD #9B2DAD #AD2D7F
triadic
#9B2DAD #AD9B2D #2DAD9B
tetradic
#9B2DAD #AD5B2D #3FAD2D #2D7FAD
square
#9B2DAD #AD5B2D #3FAD2D #2D7FAD
split-complementary
#9B2DAD #7FAD2D #2DAD5B
monochromatic
#44144C #6F207C #9B2DAD #BC48CF #CE78DC

Accessibility & contrast

On white

6.23
#9B2DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9B2DAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2DAD
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2DAD#FFFFFF#000000##FFFFFF
##9B2DAD1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#3E65AA
Tritanopia (blue-blind)
#9D466B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9b2dad;
/* rgb */ color: rgb(155, 45, 173);
/* oklch */ color: oklch(51.8% 0.206 321.6);
Tailwind
colors: {
  custom: {
    50: '#bc71c6',
    500: '#9b2dad',
    950: '#000000',
  },
}
SCSS
$custom: #9b2dad;
$custom-light: #bc71c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2dad",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 173
  },
  "hsl": {
    "h": 291.563,
    "s": 58.716,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5183,
    "c": 0.20611,
    "h": 321.6
  },
  "luminance": 0.11862
}

Semantic roles & 50–950 ramp

primary
#9B2DAD
secondary
#7DC472
accent
#E2465C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9B2DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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