#9D2BB3#9D2BB3

#9D2BB3 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.214 H 320.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9D2BB3
RGBrgb(157, 43, 179)
HSLhsl(290, 61%, 44%)
HSVhsv(290, 76%, 70%)
CMYKcmyk(12.3%, 76%, 0%, 29.8%)
CIE-LABlab(41.46, 63.49, -48.55)
CIE-LCHlch(41.46, 79.93, 322.59°)
OKLaboklab(52.34% 0.1652 -0.1361)
OKLCHoklch(52.34% 0.214 320.5)
XYZxyz(22.9042, 12.1517, 43.7782)
Luminance0.1215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2BB3 #41B32B
analogous
#592BB3 #9D2BB3 #B32B85
triadic
#9D2BB3 #B39D2B #2BB39D
tetradic
#9D2BB3 #B3592B #41B32B #2B85B3
square
#9D2BB3 #B3592B #41B32B #2B85B3
split-complementary
#9D2BB3 #85B32B #2BB359
monochromatic
#461350 #721F82 #9D2BB3 #BD48D3 #CF79DF

Accessibility & contrast

On white

6.12
#9D2BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9D2BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2BB3
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2BB3#FFFFFF#000000##FFFFFF
##9D2BB31.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#3A66B0
Tritanopia (blue-blind)
#9E476E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d2bb3;
/* rgb */ color: rgb(157, 43, 179);
/* oklch */ color: oklch(52.3% 0.214 320.5);
Tailwind
colors: {
  custom: {
    50: '#be71ca',
    500: '#9d2bb3',
    950: '#000000',
  },
}
SCSS
$custom: #9d2bb3;
$custom-light: #be71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2bb3",
  "rgb": {
    "r": 157,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 290.294,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52339,
    "c": 0.21405,
    "h": 320.5
  },
  "luminance": 0.12151
}

Semantic roles & 50–950 ramp

primary
#9D2BB3
secondary
#80C773
accent
#E4435D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9D2BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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