#9B23A0#9B23A0

#9B23A0 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.206 H 326.3°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9B23A0
RGBrgb(155, 35, 160)
HSLhsl(298, 64%, 38%)
HSVhsv(298, 78%, 63%)
CMYKcmyk(3.1%, 78.1%, 0%, 37.3%)
CIE-LABlab(39.09, 62.23, -41.03)
CIE-LCHlch(39.09, 74.53, 326.60°)
OKLaboklab(50.22% 0.1712 -0.1141)
OKLCHoklch(50.22% 0.206 326.3)
XYZxyz(20.4634, 10.7101, 34.2403)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B23A0 #28A023
analogous
#5C23A0 #9B23A0 #A02366
triadic
#9B23A0 #A09B23 #23A09B
tetradic
#9B23A0 #A05C23 #28A023 #2366A0
square
#9B23A0 #A05C23 #28A023 #2366A0
split-complementary
#9B23A0 #66A023 #23A05C
monochromatic
#3A0D3C #6A186E #9B23A0 #CB2FD1 #D761DC

Accessibility & contrast

On white

6.68
#9B23A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9B23A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B23A0
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B23A0#FFFFFF#000000##FFFFFF
##9B23A01.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#42619D
Tritanopia (blue-blind)
#9F3A61
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b23a0;
/* rgb */ color: rgb(155, 35, 160);
/* oklch */ color: oklch(50.2% 0.206 326.3);
Tailwind
colors: {
  custom: {
    50: '#bc6dbd',
    500: '#9b23a0',
    950: '#000000',
  },
}
SCSS
$custom: #9b23a0;
$custom-light: #bc6dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b23a0",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 297.6,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50217,
    "c": 0.20572,
    "h": 326.3
  },
  "luminance": 0.10709
}

Semantic roles & 50–950 ramp

primary
#9B23A0
secondary
#61C15D
accent
#E74147
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B23A0

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

Preview Lab → · Contrast checker → · Palette generator →

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