#9C239E#9C239E

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

Color values

HEX#9C239E
RGBrgb(156, 35, 158)
HSLhsl(299, 64%, 38%)
HSVhsv(299, 78%, 62%)
CMYKcmyk(1.3%, 77.8%, 0%, 38%)
CIE-LABlab(39.14, 62.10, -39.73)
CIE-LCHlch(39.14, 73.72, 327.39°)
OKLaboklab(50.25% 0.1724 -0.1103)
OKLCHoklch(50.25% 0.205 327.4)
XYZxyz(20.4826, 10.7401, 33.3354)
Luminance0.1074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C239E #259E23
analogous
#5E239E #9C239E #9E2363
triadic
#9C239E #9E9C23 #239E9C
tetradic
#9C239E #9E5E23 #259E23 #23639E
square
#9C239E #9E5E23 #259E23 #23639E
split-complementary
#9C239E #639E23 #239E5E
monochromatic
#390D3A #6B186C #9C239E #CD2ED0 #DA60DC

Accessibility & contrast

On white

6.67
#9C239E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9C239E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C239E
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C239E#FFFFFF#000000##FFFFFF
##9C239E1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#44619B
Tritanopia (blue-blind)
#A13860
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c239e;
/* rgb */ color: rgb(156, 35, 158);
/* oklch */ color: oklch(50.2% 0.205 327.4);
Tailwind
colors: {
  custom: {
    50: '#bd6dbb',
    500: '#9c239e',
    950: '#000000',
  },
}
SCSS
$custom: #9c239e;
$custom-light: #bd6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#9c239e",
  "rgb": {
    "r": 156,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 299.024,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50248,
    "c": 0.20463,
    "h": 327.4
  },
  "luminance": 0.10739
}

Semantic roles & 50–950 ramp

primary
#9C239E
secondary
#5EC15C
accent
#E74144
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9C239E

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

Preview Lab → · Contrast checker → · Palette generator →

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