#9B2DAE#9B2DAE

#9B2DAE is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.207 H 321.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9B2DAE
RGBrgb(155, 45, 174)
HSLhsl(291, 59%, 43%)
HSVhsv(291, 74%, 68%)
CMYKcmyk(10.9%, 74.1%, 0%, 31.8%)
CIE-LABlab(41.06, 61.49, -46.24)
CIE-LCHlch(41.06, 76.93, 323.05°)
OKLaboklab(51.89% 0.1615 -0.1294)
OKLCHoklch(51.89% 0.207 321.3)
XYZxyz(22.0951, 11.9025, 41.1698)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2DAE #40AE2D
analogous
#5B2DAE #9B2DAE #AE2D80
triadic
#9B2DAE #AE9B2D #2DAE9B
tetradic
#9B2DAE #AE5B2D #40AE2D #2D80AE
square
#9B2DAE #AE5B2D #40AE2D #2D80AE
split-complementary
#9B2DAE #80AE2D #2DAE5B
monochromatic
#44144D #70207D #9B2DAE #BC48D0 #CE79DC

Accessibility & contrast

On white

6.21
#9B2DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9B2DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2DAE
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2DAE#FFFFFF#000000##FFFFFF
##9B2DAE1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#3D65AB
Tritanopia (blue-blind)
#9C466B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9b2dae;
/* rgb */ color: rgb(155, 45, 174);
/* oklch */ color: oklch(51.9% 0.207 321.3);
Tailwind
colors: {
  custom: {
    50: '#bc71c7',
    500: '#9b2dae',
    950: '#000000',
  },
}
SCSS
$custom: #9b2dae;
$custom-light: #bc71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2dae",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 291.163,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51894,
    "c": 0.20695,
    "h": 321.3
  },
  "luminance": 0.11901
}

Semantic roles & 50–950 ramp

primary
#9B2DAE
secondary
#7EC472
accent
#E2465D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B2DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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