#9C23B0#9C23B0

#9C23B0 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.4% C 0.219 H 321.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9C23B0
RGBrgb(156, 35, 176)
HSLhsl(291, 67%, 41%)
HSVhsv(291, 80%, 69%)
CMYKcmyk(11.4%, 80.1%, 0%, 31%)
CIE-LABlab(40.26, 65.20, -48.71)
CIE-LCHlch(40.26, 81.38, 323.23°)
OKLaboklab(51.4% 0.1709 -0.1366)
OKLCHoklch(51.4% 0.219 321.4)
XYZxyz(22.1469, 11.4058, 42.1009)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C23B0 #37B023
analogous
#5523B0 #9C23B0 #B0237E
triadic
#9C23B0 #B09C23 #23B09C
tetradic
#9C23B0 #B05523 #37B023 #237EB0
square
#9C23B0 #B05523 #37B023 #237EB0
split-complementary
#9C23B0 #7EB023 #23B055
monochromatic
#420F4A #6F197D #9C23B0 #C139D8 #D16CE2

Accessibility & contrast

On white

6.40
#9C23B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9C23B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C23B0
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C23B0#FFFFFF#000000##FFFFFF
##9C23B01.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#3763AD
Tritanopia (blue-blind)
#9D416A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c23b0;
/* rgb */ color: rgb(156, 35, 176);
/* oklch */ color: oklch(51.4% 0.219 321.4);
Tailwind
colors: {
  custom: {
    50: '#bd6ec8',
    500: '#9c23b0',
    950: '#000000',
  },
}
SCSS
$custom: #9c23b0;
$custom-light: #bd6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c23b0",
  "rgb": {
    "r": 156,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 291.489,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51396,
    "c": 0.21874,
    "h": 321.4
  },
  "luminance": 0.11405
}

Semantic roles & 50–950 ramp

primary
#9C23B0
secondary
#75C867
accent
#EA3E56
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9C23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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