#9C2EC3#9C2EC3

#9C2EC3 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.224 H 315.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9C2EC3
RGBrgb(156, 46, 195)
HSLhsl(284, 62%, 47%)
HSVhsv(284, 76%, 76%)
CMYKcmyk(20%, 76.4%, 0%, 23.5%)
CIE-LABlab(42.71, 65.32, -55.94)
CIE-LCHlch(42.71, 85.99, 319.42°)
OKLaboklab(53.53% 0.1593 -0.1578)
OKLCHoklch(53.53% 0.224 315.3)
XYZxyz(24.5360, 12.9630, 52.8288)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2EC3 #55C32E
analogous
#512EC3 #9C2EC3 #C32EA0
triadic
#9C2EC3 #C39C2E #2EC39C
tetradic
#9C2EC3 #C3512E #55C32E #2EA0C3
square
#9C2EC3 #C3512E #55C32E #2EA0C3
split-complementary
#9C2EC3 #A0C32E #2EC351
monochromatic
#4D1760 #742291 #9C2EC3 #B657D7 #CB88E3

Accessibility & contrast

On white

5.85
#9C2EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9C2EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2EC3
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2EC3#FFFFFF#000000##FFFFFF
##9C2EC31.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#2868C0
Tritanopia (blue-blind)
#995078
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9c2ec3;
/* rgb */ color: rgb(156, 46, 195);
/* oklch */ color: oklch(53.5% 0.224 315.3);
Tailwind
colors: {
  custom: {
    50: '#be73d6',
    500: '#9c2ec3',
    950: '#000000',
  },
}
SCSS
$custom: #9c2ec3;
$custom-light: #be73d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2ec3",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 195
  },
  "hsl": {
    "h": 284.295,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53529,
    "c": 0.22427,
    "h": 315.3
  },
  "luminance": 0.12962
}

Semantic roles & 50–950 ramp

primary
#9C2EC3
secondary
#94CD80
accent
#E5436D
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9C2EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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