#9C2DBE#9C2DBE

#9C2DBE is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.221 H 316.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9C2DBE
RGBrgb(156, 45, 190)
HSLhsl(286, 62%, 46%)
HSVhsv(286, 76%, 75%)
CMYKcmyk(17.9%, 76.3%, 0%, 25.5%)
CIE-LABlab(42.25, 64.69, -53.75)
CIE-LCHlch(42.25, 84.11, 320.28°)
OKLaboklab(53.1% 0.1609 -0.1514)
OKLCHoklch(53.1% 0.221 316.7)
XYZxyz(23.9415, 12.6634, 49.8884)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2DBE #4FBE2D
analogous
#532DBE #9C2DBE #BE2D97
triadic
#9C2DBE #BE9C2D #2DBE9C
tetradic
#9C2DBE #BE532D #4FBE2D #2D97BE
square
#9C2DBE #BE532D #4FBE2D #2D97BE
split-complementary
#9C2DBE #97BE2D #2DBE53
monochromatic
#4B165B #73218D #9C2DBE #B752D6 #CC84E2

Accessibility & contrast

On white

5.94
#9C2DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9C2DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2DBE
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2DBE#FFFFFF#000000##FFFFFF
##9C2DBE1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#2E67BB
Tritanopia (blue-blind)
#9A4D74
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c2dbe;
/* rgb */ color: rgb(156, 45, 190);
/* oklch */ color: oklch(53.1% 0.221 316.7);
Tailwind
colors: {
  custom: {
    50: '#be72d2',
    500: '#9c2dbe',
    950: '#000000',
  },
}
SCSS
$custom: #9c2dbe;
$custom-light: #be72d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2dbe",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 190
  },
  "hsl": {
    "h": 285.931,
    "s": 61.702,
    "l": 46.078
  },
  "oklch": {
    "l": 0.531,
    "c": 0.22096,
    "h": 316.7
  },
  "luminance": 0.12662
}

Semantic roles & 50–950 ramp

primary
#9C2DBE
secondary
#8ECB7C
accent
#E54369
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9C2DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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