#9D2AB0#9D2AB0

#9D2AB0 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.213 H 321.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9D2AB0
RGBrgb(157, 42, 176)
HSLhsl(291, 61%, 43%)
HSVhsv(291, 76%, 69%)
CMYKcmyk(10.8%, 76.1%, 0%, 31%)
CIE-LABlab(41.15, 63.27, -47.26)
CIE-LCHlch(41.15, 78.97, 323.24°)
OKLaboklab(52.06% 0.1664 -0.1323)
OKLCHoklch(52.06% 0.213 321.5)
XYZxyz(22.5682, 11.9599, 42.1856)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2AB0 #3DB02A
analogous
#5A2AB0 #9D2AB0 #B02A80
triadic
#9D2AB0 #B09D2A #2AB09D
tetradic
#9D2AB0 #B05A2A #3DB02A #2A80B0
square
#9D2AB0 #B05A2A #3DB02A #2A80B0
split-complementary
#9D2AB0 #80B02A #2AB05A
monochromatic
#45124D #711E7F #9D2AB0 #BE45D3 #D076DE

Accessibility & contrast

On white

6.19
#9D2AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2AB0
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2AB0#FFFFFF#000000##FFFFFF
##9D2AB01.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#3C65AD
Tritanopia (blue-blind)
#9E456C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d2ab0;
/* rgb */ color: rgb(157, 42, 176);
/* oklch */ color: oklch(52.1% 0.213 321.5);
Tailwind
colors: {
  custom: {
    50: '#be71c8',
    500: '#9d2ab0',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ab0;
$custom-light: #be71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ab0",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 291.493,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52062,
    "c": 0.21258,
    "h": 321.5
  },
  "luminance": 0.11959
}

Semantic roles & 50–950 ramp

primary
#9D2AB0
secondary
#7CC670
accent
#E5435A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9D2AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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