#8A33A9#8A33A9

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

Color values

HEX#8A33A9
RGBrgb(138, 51, 169)
HSLhsl(284, 54%, 43%)
HSVhsv(284, 70%, 66%)
CMYKcmyk(18.3%, 69.8%, 0%, 33.7%)
CIE-LABlab(38.96, 54.55, -46.78)
CIE-LCHlch(38.96, 71.86, 319.39°)
OKLaboklab(49.77% 0.135 -0.1316)
OKLCHoklch(49.77% 0.189 315.7)
XYZxyz(18.8254, 10.6362, 38.5898)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33A9 #52A933
analogous
#4F33A9 #8A33A9 #A9338D
triadic
#8A33A9 #A98A33 #33A98A
tetradic
#8A33A9 #A94F33 #52A933 #338DA9
square
#8A33A9 #A94F33 #52A933 #338DA9
split-complementary
#8A33A9 #8DA933 #33A94F
monochromatic
#3D174B #64257A #8A33A9 #AA4FCA #C17ED8

Accessibility & contrast

On white

6.72
#8A33A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A33A9
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33A9#FFFFFF#000000##FFFFFF
##8A33A91.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#325EA6
Tritanopia (blue-blind)
#884B6A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a33a9;
/* rgb */ color: rgb(138, 51, 169);
/* oklch */ color: oklch(49.8% 0.189 315.7);
Tailwind
colors: {
  custom: {
    50: '#b072c3',
    500: '#8a33a9',
    950: '#000000',
  },
}
SCSS
$custom: #8a33a9;
$custom-light: #b072c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33a9",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 169
  },
  "hsl": {
    "h": 284.237,
    "s": 53.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49772,
    "c": 0.18852,
    "h": 315.7
  },
  "luminance": 0.10635
}

Semantic roles & 50–950 ramp

primary
#8A33A9
secondary
#8AC177
accent
#DD4B71
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8A33A9

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

Preview Lab → · Contrast checker → · Palette generator →

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