#9C23BC#9C23BC

#9C23BC is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.2% C 0.228 H 317.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9C23BC
RGBrgb(156, 35, 188)
HSLhsl(287, 69%, 44%)
HSVhsv(287, 81%, 74%)
CMYKcmyk(17%, 81.4%, 0%, 26.3%)
CIE-LABlab(41.06, 67.37, -54.50)
CIE-LCHlch(41.06, 86.65, 321.03°)
OKLaboklab(52.22% 0.1691 -0.1535)
OKLCHoklch(52.22% 0.228 317.8)
XYZxyz(23.3871, 11.9019, 48.6326)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C23BC #43BC23
analogous
#4F23BC #9C23BC #BC238F
triadic
#9C23BC #BC9C23 #23BC9C
tetradic
#9C23BC #BC4F23 #43BC23 #238FBC
square
#9C23BC #BC4F23 #43BC23 #238FBC
split-complementary
#9C23BC #8FBC23 #23BC4F
monochromatic
#461055 #711988 #9C23BC #BB41DC #CE74E5

Accessibility & contrast

On white

6.21
#9C23BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9C23BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C23BC
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C23BC#FFFFFF#000000##FFFFFF
##9C23BC1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#2964B9
Tritanopia (blue-blind)
#9B4771
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c23bc;
/* rgb */ color: rgb(156, 35, 188);
/* oklch */ color: oklch(52.2% 0.228 317.8);
Tailwind
colors: {
  custom: {
    50: '#be6ed1',
    500: '#9c23bc',
    950: '#000000',
  },
}
SCSS
$custom: #9c23bc;
$custom-light: #be6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c23bc",
  "rgb": {
    "r": 156,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 287.451,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52217,
    "c": 0.2284,
    "h": 317.8
  },
  "luminance": 0.11901
}

Semantic roles & 50–950 ramp

primary
#9C23BC
secondary
#82CC6F
accent
#EB3C61
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9C23BC

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

Preview Lab → · Contrast checker → · Palette generator →

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