#9D2BB6#9D2BB6

#9D2BB6 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.217 H 319.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9D2BB6
RGBrgb(157, 43, 182)
HSLhsl(289, 62%, 44%)
HSVhsv(289, 76%, 71%)
CMYKcmyk(13.7%, 76.4%, 0%, 28.6%)
CIE-LABlab(41.65, 64.04, -50.01)
CIE-LCHlch(41.65, 81.26, 322.01°)
OKLaboklab(52.54% 0.1649 -0.1404)
OKLCHoklch(52.54% 0.217 319.6)
XYZxyz(23.2109, 12.2744, 45.3935)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2BB6 #44B62B
analogous
#582BB6 #9D2BB6 #B62B8A
triadic
#9D2BB6 #B69D2B #2BB69D
tetradic
#9D2BB6 #B6582B #44B62B #2B8AB6
square
#9D2BB6 #B6582B #44B62B #2B8AB6
split-complementary
#9D2BB6 #8AB62B #2BB658
monochromatic
#481453 #721F84 #9D2BB6 #BB4AD4 #CE7BE0

Accessibility & contrast

On white

6.08
#9D2BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2BB6
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2BB6#FFFFFF#000000##FFFFFF
##9D2BB61.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#3766B3
Tritanopia (blue-blind)
#9D486F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d2bb6;
/* rgb */ color: rgb(157, 43, 182);
/* oklch */ color: oklch(52.5% 0.217 319.6);
Tailwind
colors: {
  custom: {
    50: '#be71cd',
    500: '#9d2bb6',
    950: '#000000',
  },
}
SCSS
$custom: #9d2bb6;
$custom-light: #be71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2bb6",
  "rgb": {
    "r": 157,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 289.209,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52537,
    "c": 0.21655,
    "h": 319.6
  },
  "luminance": 0.12273
}

Semantic roles & 50–950 ramp

primary
#9D2BB6
secondary
#84C875
accent
#E54360
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9D2BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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