#9D2AB3#9D2AB3

#9D2AB3 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.3% C 0.215 H 320.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9D2AB3
RGBrgb(157, 42, 179)
HSLhsl(290, 62%, 43%)
HSVhsv(290, 77%, 70%)
CMYKcmyk(12.3%, 76.5%, 0%, 29.8%)
CIE-LABlab(41.34, 63.81, -48.73)
CIE-LCHlch(41.34, 80.30, 322.63°)
OKLaboklab(52.26% 0.1661 -0.1366)
OKLCHoklch(52.26% 0.215 320.6)
XYZxyz(22.8683, 12.0799, 43.7662)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2AB3 #40B32A
analogous
#582AB3 #9D2AB3 #B32A84
triadic
#9D2AB3 #B39D2A #2AB39D
tetradic
#9D2AB3 #B3582A #40B32A #2A84B3
square
#9D2AB3 #B3582A #40B32A #2A84B3
split-complementary
#9D2AB3 #84B32A #2AB358
monochromatic
#461350 #721E81 #9D2AB3 #BD46D4 #CF78DF

Accessibility & contrast

On white

6.15
#9D2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9D2AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2AB3
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2AB3#FFFFFF#000000##FFFFFF
##9D2AB31.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#3965B0
Tritanopia (blue-blind)
#9E466E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d2ab3;
/* rgb */ color: rgb(157, 42, 179);
/* oklch */ color: oklch(52.3% 0.215 320.6);
Tailwind
colors: {
  custom: {
    50: '#be71ca',
    500: '#9d2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ab3;
$custom-light: #be71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ab3",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 290.365,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52258,
    "c": 0.21506,
    "h": 320.6
  },
  "luminance": 0.12079
}

Semantic roles & 50–950 ramp

primary
#9D2AB3
secondary
#7FC772
accent
#E5435D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9D2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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