#9C239B#9C239B

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

Color values

HEX#9C239B
RGBrgb(156, 35, 155)
HSLhsl(300, 63%, 37%)
HSVhsv(300, 78%, 61%)
CMYKcmyk(0%, 77.6%, 0.6%, 38.8%)
CIE-LABlab(38.96, 61.60, -38.20)
CIE-LCHlch(38.96, 72.48, 328.20°)
OKLaboklab(50.07% 0.1724 -0.1059)
OKLCHoklch(50.07% 0.202 328.5)
XYZxyz(20.2275, 10.6381, 31.9920)
Luminance0.1064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C239B #239C24
analogous
#61239C #9C239B #9C235E
triadic
#9C239B #9B9C23 #239B9C
tetradic
#9C239B #9C6123 #239C24 #235E9C
square
#9C239B #9C6123 #239C24 #235E9C
split-complementary
#9C239B #5E9C23 #239C61
monochromatic
#380D38 #6A1869 #9C239B #CE2ECD #DB5EDA

Accessibility & contrast

On white

6.71
#9C239B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9C239B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C239B
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C239B#FFFFFF#000000##FFFFFF
##9C239B1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04529E
Deuteranopia (green-blind)
#466198
Tritanopia (blue-blind)
#A1375E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c239b;
/* rgb */ color: rgb(156, 35, 155);
/* oklch */ color: oklch(50.1% 0.202 328.5);
Tailwind
colors: {
  custom: {
    50: '#bd6db9',
    500: '#9c239b',
    950: '#000000',
  },
}
SCSS
$custom: #9c239b;
$custom-light: #bd6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c239b",
  "rgb": {
    "r": 156,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 300.496,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50067,
    "c": 0.20234,
    "h": 328.5
  },
  "luminance": 0.10637
}

Semantic roles & 50–950 ramp

primary
#9C239B
secondary
#5BC05C
accent
#E64341
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9C239B

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

Preview Lab → · Contrast checker → · Palette generator →

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