#9C2EB2#9C2EB2

#9C2EB2 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.210 H 320.3°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9C2EB2
RGBrgb(156, 46, 178)
HSLhsl(290, 59%, 44%)
HSVhsv(290, 74%, 70%)
CMYKcmyk(12.4%, 74.2%, 0%, 30.2%)
CIE-LABlab(41.59, 62.08, -47.75)
CIE-LCHlch(41.59, 78.32, 322.43°)
OKLaboklab(52.38% 0.1614 -0.1338)
OKLCHoklch(52.38% 0.21 320.3)
XYZxyz(22.7222, 12.2374, 43.2761)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2EB2 #44B22E
analogous
#5A2EB2 #9C2EB2 #B22E86
triadic
#9C2EB2 #B29C2E #2EB29C
tetradic
#9C2EB2 #B25A2E #44B22E #2E86B2
square
#9C2EB2 #B25A2E #44B22E #2E86B2
split-complementary
#9C2EB2 #86B22E #2EB25A
monochromatic
#471551 #712181 #9C2EB2 #BB4CD1 #CD7DDD

Accessibility & contrast

On white

6.09
#9C2EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9C2EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2EB2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2EB2#FFFFFF#000000##FFFFFF
##9C2EB21.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#3B66AF
Tritanopia (blue-blind)
#9D486E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9c2eb2;
/* rgb */ color: rgb(156, 46, 178);
/* oklch */ color: oklch(52.4% 0.210 320.3);
Tailwind
colors: {
  custom: {
    50: '#bd72ca',
    500: '#9c2eb2',
    950: '#000000',
  },
}
SCSS
$custom: #9c2eb2;
$custom-light: #bd72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2eb2",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 290,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52383,
    "c": 0.20967,
    "h": 320.3
  },
  "luminance": 0.12236
}

Semantic roles & 50–950 ramp

primary
#9C2EB2
secondary
#83C676
accent
#E24660
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9C2EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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