#9B23A9#9B23A9

#9B23A9 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.8% C 0.213 H 323.3°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9B23A9
RGBrgb(155, 35, 169)
HSLhsl(294, 66%, 40%)
HSVhsv(294, 79%, 66%)
CMYKcmyk(8.3%, 79.3%, 0%, 33.7%)
CIE-LABlab(39.64, 63.77, -45.54)
CIE-LCHlch(39.64, 78.36, 324.47°)
OKLaboklab(50.79% 0.1705 -0.1273)
OKLCHoklch(50.79% 0.213 323.3)
XYZxyz(21.2794, 11.0365, 38.5379)
Luminance0.1104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B23A9 #31A923
analogous
#5823A9 #9B23A9 #A92374
triadic
#9B23A9 #A99B23 #23A99B
tetradic
#9B23A9 #A95823 #31A923 #2374A9
square
#9B23A9 #A95823 #31A923 #2374A9
split-complementary
#9B23A9 #74A923 #23A958
monochromatic
#3E0E44 #6C1976 #9B23A9 #C434D5 #D367DF

Accessibility & contrast

On white

6.55
#9B23A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9B23A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B23A9
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B23A9#FFFFFF#000000##FFFFFF
##9B23A91.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#3B62A6
Tritanopia (blue-blind)
#9D3E66
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b23a9;
/* rgb */ color: rgb(155, 35, 169);
/* oklch */ color: oklch(50.8% 0.213 323.3);
Tailwind
colors: {
  custom: {
    50: '#bd6dc3',
    500: '#9b23a9',
    950: '#000000',
  },
}
SCSS
$custom: #9b23a9;
$custom-light: #bd6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b23a9",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 293.731,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.50787,
    "c": 0.21278,
    "h": 323.3
  },
  "luminance": 0.11035
}

Semantic roles & 50–950 ramp

primary
#9B23A9
secondary
#6DC563
accent
#E93F51
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9B23A9

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

Preview Lab → · Contrast checker → · Palette generator →

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