#9C2EA8#9C2EA8

#9C2EA8 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.201 H 323.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9C2EA8
RGBrgb(156, 46, 168)
HSLhsl(294, 57%, 42%)
HSVhsv(294, 73%, 66%)
CMYKcmyk(7.1%, 72.6%, 0%, 34.1%)
CIE-LABlab(40.98, 60.26, -42.80)
CIE-LCHlch(40.98, 73.91, 324.62°)
OKLaboklab(51.75% 0.162 -0.1193)
OKLCHoklch(51.75% 0.201 323.6)
XYZxyz(21.7545, 11.8504, 38.1797)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2EA8 #3AA82E
analogous
#5F2EA8 #9C2EA8 #A82E77
triadic
#9C2EA8 #A89C2E #2EA89C
tetradic
#9C2EA8 #A85F2E #3AA82E #2E77A8
square
#9C2EA8 #A85F2E #3AA82E #2E77A8
split-complementary
#9C2EA8 #77A82E #2EA85F
monochromatic
#431448 #6F2178 #9C2EA8 #BF47CD #D077DA

Accessibility & contrast

On white

6.23
#9C2EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9C2EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2EA8
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2EA8#FFFFFF#000000##FFFFFF
##9C2EA81.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#4365A5
Tritanopia (blue-blind)
#9F4468
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c2ea8;
/* rgb */ color: rgb(156, 46, 168);
/* oklch */ color: oklch(51.7% 0.201 323.6);
Tailwind
colors: {
  custom: {
    50: '#bd72c2',
    500: '#9c2ea8',
    950: '#000000',
  },
}
SCSS
$custom: #9c2ea8;
$custom-light: #bd72c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2ea8",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 294.098,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51749,
    "c": 0.20124,
    "h": 323.6
  },
  "luminance": 0.11849
}

Semantic roles & 50–950 ramp

primary
#9C2EA8
secondary
#78C270
accent
#E04857
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120912
muted
#817B81

Preview Lab

Preview with #9C2EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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