#9B23B1#9B23B1

#9B23B1 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.3% C 0.219 H 320.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9B23B1
RGBrgb(155, 35, 177)
HSLhsl(291, 67%, 42%)
HSVhsv(291, 80%, 69%)
CMYKcmyk(12.4%, 80.2%, 0%, 30.6%)
CIE-LABlab(40.16, 65.19, -49.47)
CIE-LCHlch(40.16, 81.83, 322.80°)
OKLaboklab(51.32% 0.1696 -0.1388)
OKLCHoklch(51.32% 0.219 320.7)
XYZxyz(22.0535, 11.3462, 42.6149)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B23B1 #39B123
analogous
#5423B1 #9B23B1 #B12380
triadic
#9B23B1 #B19B23 #23B19B
tetradic
#9B23B1 #B15423 #39B123 #2380B1
square
#9B23B1 #B15423 #39B123 #2380B1
split-complementary
#9B23B1 #80B123 #23B154
monochromatic
#420F4B #6E197E #9B23B1 #BF39D8 #D06CE2

Accessibility & contrast

On white

6.42
#9B23B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9B23B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B23B1
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B23B1#FFFFFF#000000##FFFFFF
##9B23B11.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b23b1;
/* rgb */ color: rgb(155, 35, 177);
/* oklch */ color: oklch(51.3% 0.219 320.7);
Tailwind
colors: {
  custom: {
    50: '#bd6ec9',
    500: '#9b23b1',
    950: '#000000',
  },
}
SCSS
$custom: #9b23b1;
$custom-light: #bd6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b23b1",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 177
  },
  "hsl": {
    "h": 290.704,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51316,
    "c": 0.21915,
    "h": 320.7
  },
  "luminance": 0.11345
}

Semantic roles & 50–950 ramp

primary
#9B23B1
secondary
#77C868
accent
#EA3E59
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9B23B1

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

Preview Lab → · Contrast checker → · Palette generator →

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