#9C23A9#9C23A9

#9C23A9 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.213 H 323.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9C23A9
RGBrgb(156, 35, 169)
HSLhsl(294, 66%, 40%)
HSVhsv(294, 79%, 66%)
CMYKcmyk(7.7%, 79.3%, 0%, 33.7%)
CIE-LABlab(39.81, 63.97, -45.26)
CIE-LCHlch(39.81, 78.36, 324.72°)
OKLaboklab(50.94% 0.1716 -0.1265)
OKLCHoklch(50.94% 0.213 323.6)
XYZxyz(21.4721, 11.1359, 38.5469)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C23A9 #30A923
analogous
#5923A9 #9C23A9 #A92373
triadic
#9C23A9 #A99C23 #23A99C
tetradic
#9C23A9 #A95923 #30A923 #2373A9
square
#9C23A9 #A95923 #30A923 #2373A9
split-complementary
#9C23A9 #73A923 #23A959
monochromatic
#3E0E44 #6D1976 #9C23A9 #C534D5 #D467DF

Accessibility & contrast

On white

6.51
#9C23A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9C23A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C23A9
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C23A9#FFFFFF#000000##FFFFFF
##9C23A91.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#3D62A6
Tritanopia (blue-blind)
#9F3E66
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9c23a9;
/* rgb */ color: rgb(156, 35, 169);
/* oklch */ color: oklch(50.9% 0.213 323.6);
Tailwind
colors: {
  custom: {
    50: '#bd6dc3',
    500: '#9c23a9',
    950: '#000000',
  },
}
SCSS
$custom: #9c23a9;
$custom-light: #bd6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c23a9",
  "rgb": {
    "r": 156,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 294.179,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.50937,
    "c": 0.21319,
    "h": 323.6
  },
  "luminance": 0.11135
}

Semantic roles & 50–950 ramp

primary
#9C23A9
secondary
#6CC563
accent
#E93F50
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9C23A9

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

Preview Lab → · Contrast checker → · Palette generator →

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