#8B23BC#8B23BC

#8B23BC is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.8% C 0.223 H 311.5°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8B23BC
RGBrgb(139, 35, 188)
HSLhsl(281, 69%, 44%)
HSVhsv(281, 81%, 74%)
CMYKcmyk(26.1%, 81.4%, 0%, 26.3%)
CIE-LABlab(38.41, 64.44, -58.91)
CIE-LCHlch(38.41, 87.31, 317.57°)
OKLaboklab(49.84% 0.1477 -0.167)
OKLCHoklch(49.84% 0.223 311.5)
XYZxyz(20.3239, 10.3224, 48.4890)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B23BC #54BC23
analogous
#3E23BC #8B23BC #BC23A0
triadic
#8B23BC #BC8B23 #23BC8B
tetradic
#8B23BC #BC3E23 #54BC23 #23A0BC
square
#8B23BC #BC3E23 #54BC23 #23A0BC
split-complementary
#8B23BC #A0BC23 #23BC3E
monochromatic
#3F1055 #651988 #8B23BC #AA41DC #C174E5

Accessibility & contrast

On white

6.85
#8B23BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8B23BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B23BC
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B23BC#FFFFFF#000000##FFFFFF
##8B23BC1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#854B71
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b23bc;
/* rgb */ color: rgb(139, 35, 188);
/* oklch */ color: oklch(49.8% 0.223 311.5);
Tailwind
colors: {
  custom: {
    50: '#b26cd1',
    500: '#8b23bc',
    950: '#000000',
  },
}
SCSS
$custom: #8b23bc;
$custom-light: #b26cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b23bc",
  "rgb": {
    "r": 139,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 280.784,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49838,
    "c": 0.22298,
    "h": 311.5
  },
  "luminance": 0.10322
}

Semantic roles & 50–950 ramp

primary
#8B23BC
secondary
#8DCC6F
accent
#EB3C74
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#120814
muted
#817A83

Preview Lab

Preview with #8B23BC

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

Preview Lab → · Contrast checker → · Palette generator →

#8B23BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva