#9C23AE#9C23AE

#9C23AE is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.3% C 0.217 H 322.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#9C23AE
RGBrgb(156, 35, 174)
HSLhsl(292, 67%, 41%)
HSVhsv(292, 80%, 68%)
CMYKcmyk(10.3%, 79.9%, 0%, 31.8%)
CIE-LABlab(40.13, 64.84, -47.73)
CIE-LCHlch(40.13, 80.52, 323.64°)
OKLaboklab(51.26% 0.1711 -0.1337)
OKLCHoklch(51.26% 0.217 322)
XYZxyz(21.9505, 11.3273, 41.0664)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C23AE #35AE23
analogous
#5623AE #9C23AE #AE237A
triadic
#9C23AE #AE9C23 #23AE9C
tetradic
#9C23AE #AE5623 #35AE23 #237AAE
square
#9C23AE #AE5623 #35AE23 #237AAE
split-complementary
#9C23AE #7AAE23 #23AE56
monochromatic
#410F48 #6E197B #9C23AE #C237D7 #D26AE1

Accessibility & contrast

On white

6.43
#9C23AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9C23AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C23AE
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C23AE#FFFFFF#000000##FFFFFF
##9C23AE1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#3863AB
Tritanopia (blue-blind)
#9E4069
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c23ae;
/* rgb */ color: rgb(156, 35, 174);
/* oklch */ color: oklch(51.3% 0.217 322.0);
Tailwind
colors: {
  custom: {
    50: '#bd6ec7',
    500: '#9c23ae',
    950: '#000000',
  },
}
SCSS
$custom: #9c23ae;
$custom-light: #bd6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c23ae",
  "rgb": {
    "r": 156,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 292.23,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51263,
    "c": 0.21714,
    "h": 322
  },
  "luminance": 0.11326
}

Semantic roles & 50–950 ramp

primary
#9C23AE
secondary
#72C766
accent
#E93E55
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9C23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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