#9B2DAC#9B2DAC

#9B2DAC is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.205 H 321.9°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9B2DAC
RGBrgb(155, 45, 172)
HSLhsl(292, 59%, 43%)
HSVhsv(292, 74%, 67%)
CMYKcmyk(9.9%, 73.8%, 0%, 32.5%)
CIE-LABlab(40.94, 61.12, -45.25)
CIE-LCHlch(40.94, 76.05, 323.48°)
OKLaboklab(51.77% 0.1616 -0.1265)
OKLCHoklch(51.77% 0.205 321.9)
XYZxyz(21.9016, 11.8251, 40.1506)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2DAC #3EAC2D
analogous
#5C2DAC #9B2DAC #AC2D7D
triadic
#9B2DAC #AC9B2D #2DAC9B
tetradic
#9B2DAC #AC5C2D #3EAC2D #2D7DAC
square
#9B2DAC #AC5C2D #3EAC2D #2D7DAC
split-complementary
#9B2DAC #7DAC2D #2DAC5C
monochromatic
#44144B #6F207B #9B2DAC #BD47CF #CE78DC

Accessibility & contrast

On white

6.24
#9B2DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9B2DAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2DAC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2DAC#FFFFFF#000000##FFFFFF
##9B2DAC1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#3F65A9
Tritanopia (blue-blind)
#9D456A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b2dac;
/* rgb */ color: rgb(155, 45, 172);
/* oklch */ color: oklch(51.8% 0.205 321.9);
Tailwind
colors: {
  custom: {
    50: '#bc71c5',
    500: '#9b2dac',
    950: '#000000',
  },
}
SCSS
$custom: #9b2dac;
$custom-light: #bc71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2dac",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 172
  },
  "hsl": {
    "h": 291.969,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51766,
    "c": 0.20527,
    "h": 321.9
  },
  "luminance": 0.11824
}

Semantic roles & 50–950 ramp

primary
#9B2DAC
secondary
#7CC471
accent
#E2465B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9B2DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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