#9B23B2#9B23B2

#9B23B2 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.4% C 0.220 H 320.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9B23B2
RGBrgb(155, 35, 178)
HSLhsl(290, 67%, 42%)
HSVhsv(290, 80%, 70%)
CMYKcmyk(12.9%, 80.3%, 0%, 30.2%)
CIE-LABlab(40.22, 65.36, -49.96)
CIE-LCHlch(40.22, 82.27, 322.61°)
OKLaboklab(51.38% 0.1695 -0.1402)
OKLCHoklch(51.38% 0.22 320.4)
XYZxyz(22.1535, 11.3862, 43.1417)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B23B2 #3AB223
analogous
#5423B2 #9B23B2 #B22382
triadic
#9B23B2 #B29B23 #23B29B
tetradic
#9B23B2 #B25423 #3AB223 #2382B2
square
#9B23B2 #B25423 #3AB223 #2382B2
split-complementary
#9B23B2 #82B223 #23B254
monochromatic
#420F4C #6E197F #9B23B2 #BF3AD8 #CF6DE2

Accessibility & contrast

On white

6.41
#9B23B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9B23B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B23B2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B23B2#FFFFFF#000000##FFFFFF
##9B23B21.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#3363AF
Tritanopia (blue-blind)
#9C436B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b23b2;
/* rgb */ color: rgb(155, 35, 178);
/* oklch */ color: oklch(51.4% 0.220 320.4);
Tailwind
colors: {
  custom: {
    50: '#bd6eca',
    500: '#9b23b2',
    950: '#000000',
  },
}
SCSS
$custom: #9b23b2;
$custom-light: #bd6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#9b23b2",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 290.35,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51383,
    "c": 0.21996,
    "h": 320.4
  },
  "luminance": 0.11385
}

Semantic roles & 50–950 ramp

primary
#9B23B2
secondary
#78C968
accent
#EA3E59
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9B23B2

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

Preview Lab → · Contrast checker → · Palette generator →

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