#8B33AB#8B33AB

#8B33AB is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.0% C 0.191 H 315.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8B33AB
RGBrgb(139, 51, 171)
HSLhsl(284, 54%, 44%)
HSVhsv(284, 70%, 67%)
CMYKcmyk(18.7%, 70.2%, 0%, 32.9%)
CIE-LABlab(39.24, 55.19, -47.52)
CIE-LCHlch(39.24, 72.82, 319.27°)
OKLaboklab(50.04% 0.1361 -0.1337)
OKLCHoklch(50.04% 0.191 315.5)
XYZxyz(19.1808, 10.7976, 39.5940)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B33AB #53AB33
analogous
#4F33AB #8B33AB #AB338F
triadic
#8B33AB #AB8B33 #33AB8B
tetradic
#8B33AB #AB4F33 #53AB33 #338FAB
square
#8B33AB #AB4F33 #53AB33 #338FAB
split-complementary
#8B33AB #8FAB33 #33AB4F
monochromatic
#3E174D #65257C #8B33AB #AA50CB #C17FD9

Accessibility & contrast

On white

6.65
#8B33AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8B33AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B33AB
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B33AB#FFFFFF#000000##FFFFFF
##8B33AB1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#315FA8
Tritanopia (blue-blind)
#894B6B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8b33ab;
/* rgb */ color: rgb(139, 51, 171);
/* oklch */ color: oklch(50.0% 0.191 315.5);
Tailwind
colors: {
  custom: {
    50: '#b172c5',
    500: '#8b33ab',
    950: '#000000',
  },
}
SCSS
$custom: #8b33ab;
$custom-light: #b172c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b33ab",
  "rgb": {
    "r": 139,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 284,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50042,
    "c": 0.19081,
    "h": 315.5
  },
  "luminance": 0.10797
}

Semantic roles & 50–950 ramp

primary
#8B33AB
secondary
#8CC278
accent
#DD4A72
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B33AB

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

Preview Lab → · Contrast checker → · Palette generator →

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