#9C239C#9C239C

#9C239C is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.1% C 0.203 H 328.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9C239C
RGBrgb(156, 35, 156)
HSLhsl(300, 63%, 37%)
HSVhsv(300, 78%, 61%)
CMYKcmyk(0%, 77.6%, 0%, 38.8%)
CIE-LABlab(39.02, 61.77, -38.71)
CIE-LCHlch(39.02, 72.89, 327.93°)
OKLaboklab(50.13% 0.1724 -0.1073)
OKLCHoklch(50.13% 0.203 328.1)
XYZxyz(20.3118, 10.6718, 32.4361)
Luminance0.1067 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C239C #239C23
analogous
#60239C #9C239C #9C2360
triadic
#9C239C #9C9C23 #239C9C
tetradic
#9C239C #9C6023 #239C23 #23609C
square
#9C239C #9C6023 #239C23 #23609C
split-complementary
#9C239C #609C23 #239C60
monochromatic
#380D38 #6A186A #9C239C #CE2ECE #DB5EDB

Accessibility & contrast

On white

6.70
#9C239C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C239C
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C239C#FFFFFF#000000##FFFFFF
##9C239C1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01529F
Deuteranopia (green-blind)
#466199
Tritanopia (blue-blind)
#A1375F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c239c;
/* rgb */ color: rgb(156, 35, 156);
/* oklch */ color: oklch(50.1% 0.203 328.1);
Tailwind
colors: {
  custom: {
    50: '#bd6dba',
    500: '#9c239c',
    950: '#000000',
  },
}
SCSS
$custom: #9c239c;
$custom-light: #bd6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#9c239c",
  "rgb": {
    "r": 156,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 300,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50127,
    "c": 0.2031,
    "h": 328.1
  },
  "luminance": 0.1067
}

Semantic roles & 50–950 ramp

primary
#9C239C
secondary
#5BC05B
accent
#E64141
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9C239C

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

Preview Lab → · Contrast checker → · Palette generator →

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