#9C239D#9C239D

#9C239D is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.204 H 327.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9C239D
RGBrgb(156, 35, 157)
HSLhsl(300, 64%, 38%)
HSVhsv(300, 78%, 62%)
CMYKcmyk(0.6%, 77.7%, 0%, 38.4%)
CIE-LABlab(39.08, 61.93, -39.22)
CIE-LCHlch(39.08, 73.31, 327.66°)
OKLaboklab(50.19% 0.1724 -0.1088)
OKLCHoklch(50.19% 0.204 327.7)
XYZxyz(20.3969, 10.7058, 32.8839)
Luminance0.1070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C239D #249D23
analogous
#5F239D #9C239D #9D2361
triadic
#9C239D #9D9C23 #239D9C
tetradic
#9C239D #9D5F23 #249D23 #23619D
square
#9C239D #9D5F23 #249D23 #23619D
split-complementary
#9C239D #619D23 #239D5F
monochromatic
#390D39 #6A186B #9C239D #CE2ECF #DA5FDB

Accessibility & contrast

On white

6.69
#9C239D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9C239D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C239D
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C239D#FFFFFF#000000##FFFFFF
##9C239D1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#45619A
Tritanopia (blue-blind)
#A1385F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c239d;
/* rgb */ color: rgb(156, 35, 157);
/* oklch */ color: oklch(50.2% 0.204 327.7);
Tailwind
colors: {
  custom: {
    50: '#bd6dba',
    500: '#9c239d',
    950: '#000000',
  },
}
SCSS
$custom: #9c239d;
$custom-light: #bd6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#9c239d",
  "rgb": {
    "r": 156,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 299.508,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50187,
    "c": 0.20387,
    "h": 327.7
  },
  "luminance": 0.10704
}

Semantic roles & 50–950 ramp

primary
#9C239D
secondary
#5CC05C
accent
#E74143
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9C239D

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

Preview Lab → · Contrast checker → · Palette generator →

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