#8A33A4#8A33A4

#8A33A4 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.4% C 0.184 H 317.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8A33A4
RGBrgb(138, 51, 164)
HSLhsl(286, 53%, 42%)
HSVhsv(286, 69%, 64%)
CMYKcmyk(15.9%, 68.9%, 0%, 35.7%)
CIE-LABlab(38.64, 53.53, -44.30)
CIE-LCHlch(38.64, 69.49, 320.39°)
OKLaboklab(49.44% 0.1354 -0.1243)
OKLCHoklch(49.44% 0.184 317.4)
XYZxyz(18.3649, 10.4520, 36.1648)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33A4 #4DA433
analogous
#5233A4 #8A33A4 #A43385
triadic
#8A33A4 #A48A33 #33A48A
tetradic
#8A33A4 #A45233 #4DA433 #3385A4
square
#8A33A4 #A45233 #4DA433 #3385A4
split-complementary
#8A33A4 #85A433 #33A452
monochromatic
#3B1647 #632475 #8A33A4 #AB4DC8 #C17BD6

Accessibility & contrast

On white

6.80
#8A33A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8A33A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A33A4
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33A4#FFFFFF#000000##FFFFFF
##8A33A41.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#365EA1
Tritanopia (blue-blind)
#894867
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a33a4;
/* rgb */ color: rgb(138, 51, 164);
/* oklch */ color: oklch(49.4% 0.184 317.4);
Tailwind
colors: {
  custom: {
    50: '#b072bf',
    500: '#8a33a4',
    950: '#000000',
  },
}
SCSS
$custom: #8a33a4;
$custom-light: #b072bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33a4",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 164
  },
  "hsl": {
    "h": 286.195,
    "s": 52.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49442,
    "c": 0.18378,
    "h": 317.4
  },
  "luminance": 0.10451
}

Semantic roles & 50–950 ramp

primary
#8A33A4
secondary
#85BF74
accent
#DC4C6D
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A33A4

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

Preview Lab → · Contrast checker → · Palette generator →

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