#9D2BB4#9D2BB4

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

Color values

HEX#9D2BB4
RGBrgb(157, 43, 180)
HSLhsl(290, 61%, 44%)
HSVhsv(290, 76%, 71%)
CMYKcmyk(12.8%, 76.1%, 0%, 29.4%)
CIE-LABlab(41.52, 63.67, -49.04)
CIE-LCHlch(41.52, 80.37, 322.40°)
OKLaboklab(52.4% 0.1651 -0.1375)
OKLCHoklch(52.4% 0.215 320.2)
XYZxyz(23.0057, 12.1923, 44.3127)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2BB4 #42B42B
analogous
#582BB4 #9D2BB4 #B42B86
triadic
#9D2BB4 #B49D2B #2BB49D
tetradic
#9D2BB4 #B4582B #42B42B #2B86B4
square
#9D2BB4 #B4582B #42B42B #2B86B4
split-complementary
#9D2BB4 #86B42B #2BB458
monochromatic
#471351 #721F83 #9D2BB4 #BC49D3 #CE7ADF

Accessibility & contrast

On white

6.11
#9D2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2BB4
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2BB4#FFFFFF#000000##FFFFFF
##9D2BB41.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#3966B1
Tritanopia (blue-blind)
#9E476E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d2bb4;
/* rgb */ color: rgb(157, 43, 180);
/* oklch */ color: oklch(52.4% 0.215 320.2);
Tailwind
colors: {
  custom: {
    50: '#be71cb',
    500: '#9d2bb4',
    950: '#000000',
  },
}
SCSS
$custom: #9d2bb4;
$custom-light: #be71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2bb4",
  "rgb": {
    "r": 157,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 289.927,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52404,
    "c": 0.21488,
    "h": 320.2
  },
  "luminance": 0.12191
}

Semantic roles & 50–950 ramp

primary
#9D2BB4
secondary
#82C773
accent
#E5435E
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9D2BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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