#9B2EAD#9B2EAD

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

Color values

HEX#9B2EAD
RGBrgb(155, 46, 173)
HSLhsl(291, 58%, 43%)
HSVhsv(291, 73%, 68%)
CMYKcmyk(10.4%, 73.4%, 0%, 32.2%)
CIE-LABlab(41.12, 60.95, -45.55)
CIE-LCHlch(41.12, 76.09, 323.23°)
OKLaboklab(51.92% 0.1606 -0.1274)
OKLCHoklch(51.92% 0.205 321.6)
XYZxyz(22.0366, 11.9409, 40.6712)
Luminance0.1194 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2EAD #40AD2E
analogous
#5B2EAD #9B2EAD #AD2E7F
triadic
#9B2EAD #AD9B2E #2EAD9B
tetradic
#9B2EAD #AD5B2E #40AD2E #2E7FAD
square
#9B2EAD #AD5B2E #40AD2E #2E7FAD
split-complementary
#9B2EAD #7FAD2E #2EAD5B
monochromatic
#44144C #70217D #9B2EAD #BC49CF #CE7ADC

Accessibility & contrast

On white

6.20
#9B2EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9B2EAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2EAD
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2EAD#FFFFFF#000000##FFFFFF
##9B2EAD1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b2ead;
/* rgb */ color: rgb(155, 46, 173);
/* oklch */ color: oklch(51.9% 0.205 321.6);
Tailwind
colors: {
  custom: {
    50: '#bc72c6',
    500: '#9b2ead',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ead;
$custom-light: #bc72c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ead",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 173
  },
  "hsl": {
    "h": 291.496,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51918,
    "c": 0.20501,
    "h": 321.6
  },
  "luminance": 0.1194
}

Semantic roles & 50–950 ramp

primary
#9B2EAD
secondary
#7EC473
accent
#E1475C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B2EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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