#8A33AA#8A33AA

#8A33AA is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.8% C 0.189 H 315.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8A33AA
RGBrgb(138, 51, 170)
HSLhsl(284, 54%, 43%)
HSVhsv(284, 70%, 67%)
CMYKcmyk(18.8%, 70%, 0%, 33.3%)
CIE-LABlab(39.03, 54.76, -47.27)
CIE-LCHlch(39.03, 72.34, 319.20°)
OKLaboklab(49.84% 0.1349 -0.133)
OKLCHoklch(49.84% 0.189 315.4)
XYZxyz(18.9196, 10.6739, 39.0861)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33AA #53AA33
analogous
#4F33AA #8A33AA #AA338E
triadic
#8A33AA #AA8A33 #33AA8A
tetradic
#8A33AA #AA4F33 #53AA33 #338EAA
square
#8A33AA #AA4F33 #53AA33 #338EAA
split-complementary
#8A33AA #8EAA33 #33AA4F
monochromatic
#3E174C #64257B #8A33AA #A950CA #C07FD9

Accessibility & contrast

On white

6.70
#8A33AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8A33AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A33AA
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33AA#FFFFFF#000000##FFFFFF
##8A33AA1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#315EA7
Tritanopia (blue-blind)
#884B6B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a33aa;
/* rgb */ color: rgb(138, 51, 170);
/* oklch */ color: oklch(49.8% 0.189 315.4);
Tailwind
colors: {
  custom: {
    50: '#b072c4',
    500: '#8a33aa',
    950: '#000000',
  },
}
SCSS
$custom: #8a33aa;
$custom-light: #b072c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33aa",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 283.866,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49839,
    "c": 0.18947,
    "h": 315.4
  },
  "luminance": 0.10673
}

Semantic roles & 50–950 ramp

primary
#8A33AA
secondary
#8BC277
accent
#DD4B72
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A33AA

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

Preview Lab → · Contrast checker → · Palette generator →

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