#9C2EC1#9C2EC1

#9C2EC1 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.223 H 315.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9C2EC1
RGBrgb(156, 46, 193)
HSLhsl(285, 62%, 47%)
HSVhsv(285, 76%, 76%)
CMYKcmyk(19.2%, 76.2%, 0%, 24.3%)
CIE-LABlab(42.57, 64.93, -54.99)
CIE-LCHlch(42.57, 85.09, 319.74°)
OKLaboklab(53.39% 0.1596 -0.155)
OKLCHoklch(53.39% 0.223 315.8)
XYZxyz(24.3114, 12.8731, 51.6459)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2EC1 #53C12E
analogous
#532EC1 #9C2EC1 #C12E9D
triadic
#9C2EC1 #C19C2E #2EC19C
tetradic
#9C2EC1 #C1532E #53C12E #2E9DC1
square
#9C2EC1 #C1532E #53C12E #2E9DC1
split-complementary
#9C2EC1 #9DC12E #2EC153
monochromatic
#4C165E #742290 #9C2EC1 #B656D7 #CB87E2

Accessibility & contrast

On white

5.88
#9C2EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9C2EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2EC1
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2EC1#FFFFFF#000000##FFFFFF
##9C2EC11.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#2B67BE
Tritanopia (blue-blind)
#994F76
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c2ec1;
/* rgb */ color: rgb(156, 46, 193);
/* oklch */ color: oklch(53.4% 0.223 315.8);
Tailwind
colors: {
  custom: {
    50: '#be73d4',
    500: '#9c2ec1',
    950: '#000000',
  },
}
SCSS
$custom: #9c2ec1;
$custom-light: #be73d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2ec1",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 193
  },
  "hsl": {
    "h": 284.898,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5339,
    "c": 0.22254,
    "h": 315.8
  },
  "luminance": 0.12872
}

Semantic roles & 50–950 ramp

primary
#9C2EC1
secondary
#92CC7F
accent
#E5436C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9C2EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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