#9C2BBD#9C2BBD

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

Color values

HEX#9C2BBD
RGBrgb(156, 43, 189)
HSLhsl(286, 63%, 45%)
HSVhsv(286, 77%, 74%)
CMYKcmyk(17.5%, 77.2%, 0%, 25.9%)
CIE-LABlab(41.95, 65.16, -53.64)
CIE-LCHlch(41.95, 84.40, 320.54°)
OKLaboklab(52.87% 0.1628 -0.1511)
OKLCHoklch(52.87% 0.222 317.1)
XYZxyz(23.7581, 12.4708, 49.2899)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2BBD #4CBD2B
analogous
#532BBD #9C2BBD #BD2B95
triadic
#9C2BBD #BD9C2B #2BBD9C
tetradic
#9C2BBD #BD532B #4CBD2B #2B95BD
square
#9C2BBD #BD532B #4CBD2B #2B95BD
split-complementary
#9C2BBD #95BD2B #2BBD53
monochromatic
#4A1459 #73208B #9C2BBD #B84ED7 #CC80E2

Accessibility & contrast

On white

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

On black

3.49
#9C2BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9C2BBD#FFFFFF#000000##FFFFFF
##9C2BBD1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#2E66BA
Tritanopia (blue-blind)
#9A4C73
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9c2bbd;
/* rgb */ color: rgb(156, 43, 189);
/* oklch */ color: oklch(52.9% 0.222 317.1);
Tailwind
colors: {
  custom: {
    50: '#be71d2',
    500: '#9c2bbd',
    950: '#000000',
  },
}
SCSS
$custom: #9c2bbd;
$custom-light: #be71d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2bbd",
  "rgb": {
    "r": 156,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 286.438,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52869,
    "c": 0.22207,
    "h": 317.1
  },
  "luminance": 0.1247
}

Semantic roles & 50–950 ramp

primary
#9C2BBD
secondary
#8BCB79
accent
#E64267
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9C2BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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