#9B23BC#9B23BC

#9B23BC is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 52.1% C 0.228 H 317.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9B23BC
RGBrgb(155, 35, 188)
HSLhsl(287, 69%, 44%)
HSVhsv(287, 81%, 74%)
CMYKcmyk(17.6%, 81.4%, 0%, 26.3%)
CIE-LABlab(40.90, 67.19, -54.77)
CIE-LCHlch(40.90, 86.68, 320.82°)
OKLaboklab(52.07% 0.1679 -0.1543)
OKLCHoklch(52.07% 0.228 317.4)
XYZxyz(23.1944, 11.8025, 48.6236)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B23BC #44BC23
analogous
#4E23BC #9B23BC #BC2390
triadic
#9B23BC #BC9B23 #23BC9B
tetradic
#9B23BC #BC4E23 #44BC23 #2390BC
square
#9B23BC #BC4E23 #44BC23 #2390BC
split-complementary
#9B23BC #90BC23 #23BC4E
monochromatic
#461055 #701988 #9B23BC #BA41DC #CD74E5

Accessibility & contrast

On white

6.25
#9B23BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9B23BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B23BC
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B23BC#FFFFFF#000000##FFFFFF
##9B23BC1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#2764B9
Tritanopia (blue-blind)
#994871
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b23bc;
/* rgb */ color: rgb(155, 35, 188);
/* oklch */ color: oklch(52.1% 0.228 317.4);
Tailwind
colors: {
  custom: {
    50: '#bd6ed1',
    500: '#9b23bc',
    950: '#000000',
  },
}
SCSS
$custom: #9b23bc;
$custom-light: #bd6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b23bc",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 287.059,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52074,
    "c": 0.22805,
    "h": 317.4
  },
  "luminance": 0.11801
}

Semantic roles & 50–950 ramp

primary
#9B23BC
secondary
#83CC6F
accent
#EB3C62
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9B23BC

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

Preview Lab → · Contrast checker → · Palette generator →

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