#8A33AB#8A33AB

#8A33AB is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.9% C 0.190 H 315.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8A33AB
RGBrgb(138, 51, 171)
HSLhsl(284, 54%, 44%)
HSVhsv(284, 70%, 67%)
CMYKcmyk(19.3%, 70.2%, 0%, 32.9%)
CIE-LABlab(39.09, 54.97, -47.76)
CIE-LCHlch(39.09, 72.82, 319.01°)
OKLaboklab(49.91% 0.1349 -0.1344)
OKLCHoklch(49.91% 0.19 315.1)
XYZxyz(19.0146, 10.7119, 39.5862)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33AB #54AB33
analogous
#4E33AB #8A33AB #AB3390
triadic
#8A33AB #AB8A33 #33AB8A
tetradic
#8A33AB #AB4E33 #54AB33 #3390AB
square
#8A33AB #AB4E33 #54AB33 #3390AB
split-complementary
#8A33AB #90AB33 #33AB4E
monochromatic
#3E174D #64257C #8A33AB #A950CB #C07FD9

Accessibility & contrast

On white

6.68
#8A33AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8A33AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A33AB
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33AB#FFFFFF#000000##FFFFFF
##8A33AB1.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)
#0057AE
Deuteranopia (green-blind)
#305EA8
Tritanopia (blue-blind)
#874B6B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a33ab;
/* rgb */ color: rgb(138, 51, 171);
/* oklch */ color: oklch(49.9% 0.190 315.1);
Tailwind
colors: {
  custom: {
    50: '#b072c5',
    500: '#8a33ab',
    950: '#000000',
  },
}
SCSS
$custom: #8a33ab;
$custom-light: #b072c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33ab",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 283.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49907,
    "c": 0.19043,
    "h": 315.1
  },
  "luminance": 0.10711
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A33AB

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

Preview Lab → · Contrast checker → · Palette generator →

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