#9B23CA#9B23CA

#9B23CA is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 53.1% C 0.240 H 313.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9B23CA
RGBrgb(155, 35, 202)
HSLhsl(283, 70%, 46%)
HSVhsv(283, 83%, 79%)
CMYKcmyk(23.3%, 82.7%, 0%, 20.8%)
CIE-LABlab(41.90, 69.83, -61.32)
CIE-LCHlch(41.90, 92.94, 318.71°)
OKLaboklab(53.09% 0.165 -0.1736)
OKLCHoklch(53.09% 0.24 313.6)
XYZxyz(24.7774, 12.4357, 56.9608)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B23CA #52CA23
analogous
#4823CA #9B23CA #CA23A6
triadic
#9B23CA #CA9B23 #23CA9B
tetradic
#9B23CA #CA4823 #52CA23 #23A6CA
square
#9B23CA #CA4823 #52CA23 #23A6CA
split-complementary
#9B23CA #A6CA23 #23CA48
monochromatic
#4B1162 #731A96 #9B23CA #B64AE0 #CB7FE9

Accessibility & contrast

On white

6.02
#9B23CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9B23CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B23CA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B23CA#FFFFFF#000000##FFFFFF
##9B23CA1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0165C7
Tritanopia (blue-blind)
#964E79
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b23ca;
/* rgb */ color: rgb(155, 35, 202);
/* oklch */ color: oklch(53.1% 0.240 313.6);
Tailwind
colors: {
  custom: {
    50: '#be6fdb',
    500: '#9b23ca',
    950: '#000000',
  },
}
SCSS
$custom: #9b23ca;
$custom-light: #be6fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b23ca",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 202
  },
  "hsl": {
    "h": 283.114,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53088,
    "c": 0.23954,
    "h": 313.6
  },
  "luminance": 0.12435
}

Semantic roles & 50–950 ramp

primary
#9B23CA
secondary
#91D178
accent
#ED3B6D
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #9B23CA

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

Preview Lab → · Contrast checker → · Palette generator →

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