#9C239F#9C239F

#9C239F is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.205 H 327.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9C239F
RGBrgb(156, 35, 159)
HSLhsl(299, 64%, 38%)
HSVhsv(299, 78%, 62%)
CMYKcmyk(1.9%, 78%, 0%, 37.6%)
CIE-LABlab(39.20, 62.27, -40.24)
CIE-LCHlch(39.20, 74.13, 327.13°)
OKLaboklab(50.31% 0.1723 -0.1118)
OKLCHoklch(50.31% 0.205 327)
XYZxyz(20.5690, 10.7747, 33.7905)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C239F #269F23
analogous
#5E239F #9C239F #9F2364
triadic
#9C239F #9F9C23 #239F9C
tetradic
#9C239F #9F5E23 #269F23 #23649F
square
#9C239F #9F5E23 #269F23 #23649F
split-complementary
#9C239F #649F23 #239F5E
monochromatic
#3A0D3B #6B186D #9C239F #CD2ED1 #D960DC

Accessibility & contrast

On white

6.66
#9C239F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C239F
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C239F#FFFFFF#000000##FFFFFF
##9C239F1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#44629C
Tritanopia (blue-blind)
#A13961
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c239f;
/* rgb */ color: rgb(156, 35, 159);
/* oklch */ color: oklch(50.3% 0.205 327.0);
Tailwind
colors: {
  custom: {
    50: '#bd6dbc',
    500: '#9c239f',
    950: '#000000',
  },
}
SCSS
$custom: #9c239f;
$custom-light: #bd6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c239f",
  "rgb": {
    "r": 156,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 298.548,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50309,
    "c": 0.2054,
    "h": 327
  },
  "luminance": 0.10773
}

Semantic roles & 50–950 ramp

primary
#9C239F
secondary
#5FC15D
accent
#E74145
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9C239F

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

Preview Lab → · Contrast checker → · Palette generator →

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