#8A33A6#8A33A6

#8A33A6 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.6% C 0.186 H 316.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8A33A6
RGBrgb(138, 51, 166)
HSLhsl(285, 53%, 43%)
HSVhsv(285, 69%, 65%)
CMYKcmyk(16.9%, 69.3%, 0%, 34.9%)
CIE-LABlab(38.77, 53.94, -45.29)
CIE-LCHlch(38.77, 70.43, 319.98°)
OKLaboklab(49.57% 0.1353 -0.1272)
OKLCHoklch(49.57% 0.186 316.8)
XYZxyz(18.5470, 10.5248, 37.1235)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33A6 #4FA633
analogous
#5033A6 #8A33A6 #A63389
triadic
#8A33A6 #A68A33 #33A68A
tetradic
#8A33A6 #A65033 #4FA633 #3389A6
square
#8A33A6 #A65033 #4FA633 #3389A6
split-complementary
#8A33A6 #89A633 #33A650
monochromatic
#3C1648 #632577 #8A33A6 #AB4EC9 #C17CD7

Accessibility & contrast

On white

6.76
#8A33A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8A33A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A33A6
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33A6#FFFFFF#000000##FFFFFF
##8A33A61.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#345EA3
Tritanopia (blue-blind)
#894969
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a33a6;
/* rgb */ color: rgb(138, 51, 166);
/* oklch */ color: oklch(49.6% 0.186 316.8);
Tailwind
colors: {
  custom: {
    50: '#b072c1',
    500: '#8a33a6',
    950: '#000000',
  },
}
SCSS
$custom: #8a33a6;
$custom-light: #b072c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33a6",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 166
  },
  "hsl": {
    "h": 285.391,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49573,
    "c": 0.18567,
    "h": 316.8
  },
  "luminance": 0.10524
}

Semantic roles & 50–950 ramp

primary
#8A33A6
secondary
#87C075
accent
#DC4B6F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A33A6

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

Preview Lab → · Contrast checker → · Palette generator →

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