#9C2DBF#9C2DBF

#9C2DBF is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.222 H 316.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9C2DBF
RGBrgb(156, 45, 191)
HSLhsl(286, 62%, 46%)
HSVhsv(286, 76%, 75%)
CMYKcmyk(18.3%, 76.4%, 0%, 25.1%)
CIE-LABlab(42.32, 64.88, -54.23)
CIE-LCHlch(42.32, 84.56, 320.11°)
OKLaboklab(53.17% 0.1608 -0.1528)
OKLCHoklch(53.17% 0.222 316.5)
XYZxyz(24.0512, 12.7073, 50.4660)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2DBF #50BF2D
analogous
#532DBF #9C2DBF #BF2D99
triadic
#9C2DBF #BF9C2D #2DBF9C
tetradic
#9C2DBF #BF532D #50BF2D #2D99BF
square
#9C2DBF #BF532D #50BF2D #2D99BF
split-complementary
#9C2DBF #99BF2D #2DBF53
monochromatic
#4B165C #74218D #9C2DBF #B753D6 #CC84E2

Accessibility & contrast

On white

5.93
#9C2DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9C2DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2DBF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2DBF#FFFFFF#000000##FFFFFF
##9C2DBF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#2D67BC
Tritanopia (blue-blind)
#9A4E75
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c2dbf;
/* rgb */ color: rgb(156, 45, 191);
/* oklch */ color: oklch(53.2% 0.222 316.5);
Tailwind
colors: {
  custom: {
    50: '#be72d3',
    500: '#9c2dbf',
    950: '#000000',
  },
}
SCSS
$custom: #9c2dbf;
$custom-light: #be72d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2dbf",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 285.616,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53168,
    "c": 0.22182,
    "h": 316.5
  },
  "luminance": 0.12706
}

Semantic roles & 50–950 ramp

primary
#9C2DBF
secondary
#8FCB7C
accent
#E5436A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9C2DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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