#9C2EC0#9C2EC0

#9C2EC0 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.222 H 316.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9C2EC0
RGBrgb(156, 46, 192)
HSLhsl(285, 61%, 47%)
HSVhsv(285, 76%, 75%)
CMYKcmyk(18.7%, 76%, 0%, 24.7%)
CIE-LABlab(42.50, 64.73, -54.51)
CIE-LCHlch(42.50, 84.63, 319.90°)
OKLaboklab(53.32% 0.1598 -0.1536)
OKLCHoklch(53.32% 0.222 316.1)
XYZxyz(24.2002, 12.8287, 51.0604)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2EC0 #52C02E
analogous
#532EC0 #9C2EC0 #C02E9B
triadic
#9C2EC0 #C09C2E #2EC09C
tetradic
#9C2EC0 #C0532E #52C02E #2E9BC0
square
#9C2EC0 #C0532E #52C02E #2E9BC0
split-complementary
#9C2EC0 #9BC02E #2EC053
monochromatic
#4C165D #74228F #9C2EC0 #B655D6 #CB86E2

Accessibility & contrast

On white

5.89
#9C2EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C2EC0
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2EC0#FFFFFF#000000##FFFFFF
##9C2EC01.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#2C67BD
Tritanopia (blue-blind)
#9A4E76
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c2ec0;
/* rgb */ color: rgb(156, 46, 192);
/* oklch */ color: oklch(53.3% 0.222 316.1);
Tailwind
colors: {
  custom: {
    50: '#be73d4',
    500: '#9c2ec0',
    950: '#000000',
  },
}
SCSS
$custom: #9c2ec0;
$custom-light: #be73d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2ec0",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 192
  },
  "hsl": {
    "h": 285.205,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53321,
    "c": 0.22168,
    "h": 316.1
  },
  "luminance": 0.12828
}

Semantic roles & 50–950 ramp

primary
#9C2EC0
secondary
#91CC7E
accent
#E4436B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9C2EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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