#9D2BBB#9D2BBB

#9D2BBB is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.221 H 318.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9D2BBB
RGBrgb(157, 43, 187)
HSLhsl(288, 63%, 45%)
HSVhsv(288, 77%, 73%)
CMYKcmyk(16%, 77%, 0%, 26.7%)
CIE-LABlab(41.98, 64.97, -52.43)
CIE-LCHlch(41.98, 83.49, 321.10°)
OKLaboklab(52.87% 0.1643 -0.1475)
OKLCHoklch(52.87% 0.221 318.1)
XYZxyz(23.7369, 12.4848, 48.1636)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2BBB #49BB2B
analogous
#552BBB #9D2BBB #BB2B91
triadic
#9D2BBB #BB9D2B #2BBB9D
tetradic
#9D2BBB #BB552B #49BB2B #2B91BB
square
#9D2BBB #BB552B #49BB2B #2B91BB
split-complementary
#9D2BBB #91BB2B #2BBB55
monochromatic
#491457 #732089 #9D2BBB #BA4DD6 #CD7FE2

Accessibility & contrast

On white

6.01
#9D2BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9D2BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2BBB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2BBB#FFFFFF#000000##FFFFFF
##9D2BBB1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#3266B8
Tritanopia (blue-blind)
#9C4A72
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9d2bbb;
/* rgb */ color: rgb(157, 43, 187);
/* oklch */ color: oklch(52.9% 0.221 318.1);
Tailwind
colors: {
  custom: {
    50: '#be71d0',
    500: '#9d2bbb',
    950: '#000000',
  },
}
SCSS
$custom: #9d2bbb;
$custom-light: #be71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2bbb",
  "rgb": {
    "r": 157,
    "g": 43,
    "b": 187
  },
  "hsl": {
    "h": 287.5,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52872,
    "c": 0.22075,
    "h": 318.1
  },
  "luminance": 0.12484
}

Semantic roles & 50–950 ramp

primary
#9D2BBB
secondary
#89CA78
accent
#E64264
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D2BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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