#9C23B1#9C23B1

#9C23B1 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.5% C 0.220 H 321.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9C23B1
RGBrgb(156, 35, 177)
HSLhsl(291, 67%, 42%)
HSVhsv(291, 80%, 69%)
CMYKcmyk(11.9%, 80.2%, 0%, 30.6%)
CIE-LABlab(40.32, 65.37, -49.20)
CIE-LCHlch(40.32, 81.82, 323.03°)
OKLaboklab(51.46% 0.1708 -0.138)
OKLCHoklch(51.46% 0.22 321.1)
XYZxyz(22.2462, 11.4456, 42.6239)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C23B1 #38B123
analogous
#5523B1 #9C23B1 #B1237F
triadic
#9C23B1 #B19C23 #23B19C
tetradic
#9C23B1 #B15523 #38B123 #237FB1
square
#9C23B1 #B15523 #38B123 #237FB1
split-complementary
#9C23B1 #7FB123 #23B155
monochromatic
#420F4B #6F197E #9C23B1 #C039D8 #D16CE2

Accessibility & contrast

On white

6.39
#9C23B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9C23B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C23B1
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C23B1#FFFFFF#000000##FFFFFF
##9C23B11.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#3663AE
Tritanopia (blue-blind)
#9D426B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c23b1;
/* rgb */ color: rgb(156, 35, 177);
/* oklch */ color: oklch(51.5% 0.220 321.1);
Tailwind
colors: {
  custom: {
    50: '#bd6ec9',
    500: '#9c23b1',
    950: '#000000',
  },
}
SCSS
$custom: #9c23b1;
$custom-light: #bd6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c23b1",
  "rgb": {
    "r": 156,
    "g": 35,
    "b": 177
  },
  "hsl": {
    "h": 291.127,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51463,
    "c": 0.21954,
    "h": 321.1
  },
  "luminance": 0.11444
}

Semantic roles & 50–950 ramp

primary
#9C23B1
secondary
#76C868
accent
#EA3E57
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9C23B1

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

Preview Lab → · Contrast checker → · Palette generator →

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