#9C2EA9#9C2EA9

#9C2EA9 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.202 H 323.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9C2EA9
RGBrgb(156, 46, 169)
HSLhsl(294, 57%, 42%)
HSVhsv(294, 73%, 66%)
CMYKcmyk(7.7%, 72.8%, 0%, 33.7%)
CIE-LABlab(41.04, 60.44, -43.30)
CIE-LCHlch(41.04, 74.35, 324.38°)
OKLaboklab(51.81% 0.162 -0.1208)
OKLCHoklch(51.81% 0.202 323.3)
XYZxyz(21.8481, 11.8878, 38.6722)
Luminance0.1189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2EA9 #3BA92E
analogous
#5F2EA9 #9C2EA9 #A92E78
triadic
#9C2EA9 #A99C2E #2EA99C
tetradic
#9C2EA9 #A95F2E #3BA92E #2E78A9
square
#9C2EA9 #A95F2E #3BA92E #2E78A9
split-complementary
#9C2EA9 #78A92E #2EA95F
monochromatic
#431449 #702179 #9C2EA9 #BF47CD #D077DA

Accessibility & contrast

On white

6.22
#9C2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9C2EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2EA9
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2EA9#FFFFFF#000000##FFFFFF
##9C2EA91.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#4265A6
Tritanopia (blue-blind)
#9F4469
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c2ea9;
/* rgb */ color: rgb(156, 46, 169);
/* oklch */ color: oklch(51.8% 0.202 323.3);
Tailwind
colors: {
  custom: {
    50: '#bd72c3',
    500: '#9c2ea9',
    950: '#000000',
  },
}
SCSS
$custom: #9c2ea9;
$custom-light: #bd72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2ea9",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 293.659,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51811,
    "c": 0.20208,
    "h": 323.3
  },
  "luminance": 0.11886
}

Semantic roles & 50–950 ramp

primary
#9C2EA9
secondary
#79C271
accent
#E04758
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120912
muted
#817B81

Preview Lab

Preview with #9C2EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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