#9C2EA0#9C2EA0

#9C2EA0 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.195 H 326.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9C2EA0
RGBrgb(156, 46, 160)
HSLhsl(298, 55%, 40%)
HSVhsv(298, 71%, 63%)
CMYKcmyk(2.5%, 71.2%, 0%, 37.3%)
CIE-LABlab(40.51, 58.85, -38.75)
CIE-LCHlch(40.51, 70.46, 326.63°)
OKLaboklab(51.26% 0.1622 -0.1075)
OKLCHoklch(51.26% 0.195 326.5)
XYZxyz(21.0321, 11.5614, 34.3747)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2EA0 #32A02E
analogous
#632EA0 #9C2EA0 #A02E6B
triadic
#9C2EA0 #A09C2E #2EA09C
tetradic
#9C2EA0 #A0632E #32A02E #2E6BA0
square
#9C2EA0 #A0632E #32A02E #2E6BA0
split-complementary
#9C2EA0 #6BA02E #2EA063
monochromatic
#3F1341 #6E2070 #9C2EA0 #C442C9 #D372D6

Accessibility & contrast

On white

6.34
#9C2EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9C2EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2EA0
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2EA0#FFFFFF#000000##FFFFFF
##9C2EA01.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1557A3
Deuteranopia (green-blind)
#48649D
Tritanopia (blue-blind)
#A04064
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c2ea0;
/* rgb */ color: rgb(156, 46, 160);
/* oklch */ color: oklch(51.3% 0.195 326.5);
Tailwind
colors: {
  custom: {
    50: '#bd71bc',
    500: '#9c2ea0',
    950: '#000000',
  },
}
SCSS
$custom: #9c2ea0;
$custom-light: #bd71bc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2ea0",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 297.895,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51264,
    "c": 0.19463,
    "h": 326.5
  },
  "luminance": 0.1156
}

Semantic roles & 50–950 ramp

primary
#9C2EA0
secondary
#6FBE6C
accent
#DF494E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C2EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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