#9C239A#9C239A

#9C239A is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.202 H 328.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9C239A
RGBrgb(156, 35, 154)
HSLhsl(301, 63%, 37%)
HSVhsv(301, 78%, 61%)
CMYKcmyk(0%, 77.6%, 1.3%, 38.8%)
CIE-LABlab(38.91, 61.44, -37.68)
CIE-LCHlch(38.91, 72.08, 328.48°)
OKLaboklab(50.01% 0.1725 -0.1044)
OKLCHoklch(50.01% 0.202 328.8)
XYZxyz(20.1439, 10.6046, 31.5515)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C239A #239C25
analogous
#62239C #9C239A #9C235D
triadic
#9C239A #9A9C23 #239A9C
tetradic
#9C239A #9C6223 #239C25 #235D9C
square
#9C239A #9C6223 #239C25 #235D9C
split-complementary
#9C239A #5D9C23 #239C62
monochromatic
#380D37 #6A1869 #9C239A #CE2ECB #DB5ED9

Accessibility & contrast

On white

6.73
#9C239A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9C239A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C239A
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C239A#FFFFFF#000000##FFFFFF
##9C239A1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07529D
Deuteranopia (green-blind)
#476197
Tritanopia (blue-blind)
#A1365E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c239a;
/* rgb */ color: rgb(156, 35, 154);
/* oklch */ color: oklch(50.0% 0.202 328.8);
Tailwind
colors: {
  custom: {
    50: '#bd6db8',
    500: '#9c239a',
    950: '#000000',
  },
}
SCSS
$custom: #9c239a;
$custom-light: #bd6db8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c239a",
  "rgb": {
    "r": 156,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 300.992,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50007,
    "c": 0.20158,
    "h": 328.8
  },
  "luminance": 0.10603
}

Semantic roles & 50–950 ramp

primary
#9C239A
secondary
#5BC05D
accent
#E64441
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9C239A

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

Preview Lab → · Contrast checker → · Palette generator →

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