#9C2EB7#9C2EB7

#9C2EB7 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.214 H 318.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9C2EB7
RGBrgb(156, 46, 183)
HSLhsl(288, 60%, 45%)
HSVhsv(288, 75%, 72%)
CMYKcmyk(14.8%, 74.9%, 0%, 28.2%)
CIE-LABlab(41.91, 63.02, -50.19)
CIE-LCHlch(41.91, 80.56, 321.46°)
OKLaboklab(52.71% 0.1609 -0.141)
OKLCHoklch(52.71% 0.214 318.8)
XYZxyz(23.2334, 12.4419, 45.9683)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2EB7 #49B72E
analogous
#572EB7 #9C2EB7 #B72E8E
triadic
#9C2EB7 #B79C2E #2EB79C
tetradic
#9C2EB7 #B7572E #49B72E #2E8EB7
square
#9C2EB7 #B7572E #49B72E #2E8EB7
split-complementary
#9C2EB7 #8EB72E #2EB757
monochromatic
#491555 #722286 #9C2EB7 #B94FD3 #CC80DF

Accessibility & contrast

On white

6.02
#9C2EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C2EB7
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2EB7#FFFFFF#000000##FFFFFF
##9C2EB71.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#3766B4
Tritanopia (blue-blind)
#9C4A71
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9c2eb7;
/* rgb */ color: rgb(156, 46, 183);
/* oklch */ color: oklch(52.7% 0.214 318.8);
Tailwind
colors: {
  custom: {
    50: '#bd72cd',
    500: '#9c2eb7',
    950: '#000000',
  },
}
SCSS
$custom: #9c2eb7;
$custom-light: #bd72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2eb7",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 288.175,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52711,
    "c": 0.21393,
    "h": 318.8
  },
  "luminance": 0.12441
}

Semantic roles & 50–950 ramp

primary
#9C2EB7
secondary
#88C879
accent
#E34564
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9C2EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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