#9C2EA5#9C2EA5

#9C2EA5 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.6% C 0.199 H 324.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9C2EA5
RGBrgb(156, 46, 165)
HSLhsl(295, 56%, 41%)
HSVhsv(295, 72%, 65%)
CMYKcmyk(5.5%, 72.1%, 0%, 35.3%)
CIE-LABlab(40.80, 59.72, -41.29)
CIE-LCHlch(40.80, 72.60, 325.34°)
OKLaboklab(51.57% 0.1621 -0.1149)
OKLCHoklch(51.57% 0.199 324.7)
XYZxyz(21.4783, 11.7399, 36.7247)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2EA5 #37A52E
analogous
#612EA5 #9C2EA5 #A52E73
triadic
#9C2EA5 #A59C2E #2EA59C
tetradic
#9C2EA5 #A5612E #37A52E #2E73A5
square
#9C2EA5 #A5612E #37A52E #2E73A5
split-complementary
#9C2EA5 #73A52E #2EA561
monochromatic
#421345 #6F2175 #9C2EA5 #C145CB #D175D8

Accessibility & contrast

On white

6.27
#9C2EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9C2EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2EA5
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2EA5#FFFFFF#000000##FFFFFF
##9C2EA51.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0858A8
Deuteranopia (green-blind)
#4565A2
Tritanopia (blue-blind)
#9F4267
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c2ea5;
/* rgb */ color: rgb(156, 46, 165);
/* oklch */ color: oklch(51.6% 0.199 324.7);
Tailwind
colors: {
  custom: {
    50: '#bd72c0',
    500: '#9c2ea5',
    950: '#000000',
  },
}
SCSS
$custom: #9c2ea5;
$custom-light: #bd72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2ea5",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 295.462,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51565,
    "c": 0.19876,
    "h": 324.7
  },
  "luminance": 0.11739
}

Semantic roles & 50–950 ramp

primary
#9C2EA5
secondary
#75C06F
accent
#E04854
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C2EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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