#9B23B0#9B23B0

#9B23B0 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.2% C 0.218 H 321.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9B23B0
RGBrgb(155, 35, 176)
HSLhsl(291, 67%, 41%)
HSVhsv(291, 80%, 69%)
CMYKcmyk(11.9%, 80.1%, 0%, 31%)
CIE-LABlab(40.09, 65.01, -48.98)
CIE-LCHlch(40.09, 81.40, 323.00°)
OKLaboklab(51.25% 0.1697 -0.1374)
OKLCHoklch(51.25% 0.218 321)
XYZxyz(21.9542, 11.3064, 42.0919)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B23B0 #38B023
analogous
#5523B0 #9B23B0 #B0237F
triadic
#9B23B0 #B09B23 #23B09B
tetradic
#9B23B0 #B05523 #38B023 #237FB0
square
#9B23B0 #B05523 #38B023 #237FB0
split-complementary
#9B23B0 #7FB023 #23B055
monochromatic
#410F4A #6E197D #9B23B0 #C039D8 #D06CE2

Accessibility & contrast

On white

6.44
#9B23B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9B23B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B23B0
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B23B0#FFFFFF#000000##FFFFFF
##9B23B01.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#3563AD
Tritanopia (blue-blind)
#9C426A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9b23b0;
/* rgb */ color: rgb(155, 35, 176);
/* oklch */ color: oklch(51.2% 0.218 321.0);
Tailwind
colors: {
  custom: {
    50: '#bd6ec8',
    500: '#9b23b0',
    950: '#000000',
  },
}
SCSS
$custom: #9b23b0;
$custom-light: #bd6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b23b0",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 291.064,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51249,
    "c": 0.21835,
    "h": 321
  },
  "luminance": 0.11305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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