#9C2EA1#9C2EA1

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

Color values

HEX#9C2EA1
RGBrgb(156, 46, 161)
HSLhsl(297, 56%, 41%)
HSVhsv(297, 71%, 63%)
CMYKcmyk(3.1%, 71.4%, 0%, 36.9%)
CIE-LABlab(40.57, 59.02, -39.26)
CIE-LCHlch(40.57, 70.89, 326.37°)
OKLaboklab(51.32% 0.1622 -0.109)
OKLCHoklch(51.32% 0.195 326.1)
XYZxyz(21.1199, 11.5965, 34.8373)
Luminance0.1159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2EA1 #33A12E
analogous
#622EA1 #9C2EA1 #A12E6C
triadic
#9C2EA1 #A19C2E #2EA19C
tetradic
#9C2EA1 #A1622E #33A12E #2E6CA1
square
#9C2EA1 #A1622E #33A12E #2E6CA1
split-complementary
#9C2EA1 #6CA12E #2EA162
monochromatic
#401342 #6E2071 #9C2EA1 #C343C9 #D373D7

Accessibility & contrast

On white

6.33
#9C2EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9C2EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2EA1
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2EA1#FFFFFF#000000##FFFFFF
##9C2EA11.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1357A4
Deuteranopia (green-blind)
#48649E
Tritanopia (blue-blind)
#A04064
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c2ea1;
/* rgb */ color: rgb(156, 46, 161);
/* oklch */ color: oklch(51.3% 0.195 326.1);
Tailwind
colors: {
  custom: {
    50: '#bd71bd',
    500: '#9c2ea1',
    950: '#000000',
  },
}
SCSS
$custom: #9c2ea1;
$custom-light: #bd71bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2ea1",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 297.391,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51324,
    "c": 0.19546,
    "h": 326.1
  },
  "luminance": 0.11595
}

Semantic roles & 50–950 ramp

primary
#9C2EA1
secondary
#70BE6C
accent
#DF494F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C2EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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