#9D2BB5#9D2BB5

#9D2BB5 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.216 H 319.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9D2BB5
RGBrgb(157, 43, 181)
HSLhsl(290, 62%, 44%)
HSVhsv(290, 76%, 71%)
CMYKcmyk(13.3%, 76.2%, 0%, 29%)
CIE-LABlab(41.58, 63.86, -49.53)
CIE-LCHlch(41.58, 80.81, 322.20°)
OKLaboklab(52.47% 0.165 -0.139)
OKLCHoklch(52.47% 0.216 319.9)
XYZxyz(23.1080, 12.2332, 44.8512)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2BB5 #43B52B
analogous
#582BB5 #9D2BB5 #B52B88
triadic
#9D2BB5 #B59D2B #2BB59D
tetradic
#9D2BB5 #B5582B #43B52B #2B88B5
square
#9D2BB5 #B5582B #43B52B #2B88B5
split-complementary
#9D2BB5 #88B52B #2BB558
monochromatic
#471452 #721F84 #9D2BB5 #BC49D4 #CE7BE0

Accessibility & contrast

On white

6.09
#9D2BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9D2BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2BB5
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2BB5#FFFFFF#000000##FFFFFF
##9D2BB51.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#3866B2
Tritanopia (blue-blind)
#9D486F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d2bb5;
/* rgb */ color: rgb(157, 43, 181);
/* oklch */ color: oklch(52.5% 0.216 319.9);
Tailwind
colors: {
  custom: {
    50: '#be71cc',
    500: '#9d2bb5',
    950: '#000000',
  },
}
SCSS
$custom: #9d2bb5;
$custom-light: #be71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2bb5",
  "rgb": {
    "r": 157,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 289.565,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5247,
    "c": 0.21572,
    "h": 319.9
  },
  "luminance": 0.12232
}

Semantic roles & 50–950 ramp

primary
#9D2BB5
secondary
#83C874
accent
#E5435F
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9D2BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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