#9C23A6#9C23A6

#9C23A6 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.211 H 324.6°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9C23A6
RGBrgb(156, 35, 166)
HSLhsl(295, 65%, 39%)
HSVhsv(295, 79%, 65%)
CMYKcmyk(6%, 78.9%, 0%, 34.9%)
CIE-LABlab(39.62, 63.45, -43.77)
CIE-LCHlch(39.62, 77.08, 325.40°)
OKLaboklab(50.75% 0.1719 -0.1221)
OKLCHoklch(50.75% 0.211 324.6)
XYZxyz(21.1937, 11.0245, 37.0807)
Luminance0.1102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C23A6 #2DA623
analogous
#5B23A6 #9C23A6 #A6236F
triadic
#9C23A6 #A69C23 #23A69C
tetradic
#9C23A6 #A65B23 #2DA623 #236FA6
square
#9C23A6 #A65B23 #2DA623 #236FA6
split-complementary
#9C23A6 #6FA623 #23A65B
monochromatic
#3D0E41 #6D1873 #9C23A6 #C832D4 #D565DF

Accessibility & contrast

On white

6.55
#9C23A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9C23A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C23A6
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C23A6#FFFFFF#000000##FFFFFF
##9C23A61.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#3F62A3
Tritanopia (blue-blind)
#9F3C65
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c23a6;
/* rgb */ color: rgb(156, 35, 166);
/* oklch */ color: oklch(50.7% 0.211 324.6);
Tailwind
colors: {
  custom: {
    50: '#bd6dc1',
    500: '#9c23a6',
    950: '#000000',
  },
}
SCSS
$custom: #9c23a6;
$custom-light: #bd6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c23a6",
  "rgb": {
    "r": 156,
    "g": 35,
    "b": 166
  },
  "hsl": {
    "h": 295.42,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50745,
    "c": 0.21083,
    "h": 324.6
  },
  "luminance": 0.11023
}

Semantic roles & 50–950 ramp

primary
#9C23A6
secondary
#68C461
accent
#E8404D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9C23A6

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

Preview Lab → · Contrast checker → · Palette generator →

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