#8A33A3#8A33A3

#8A33A3 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.4% C 0.183 H 317.8°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8A33A3
RGBrgb(138, 51, 163)
HSLhsl(287, 52%, 42%)
HSVhsv(287, 69%, 64%)
CMYKcmyk(15.3%, 68.7%, 0%, 36.1%)
CIE-LABlab(38.58, 53.33, -43.80)
CIE-LCHlch(38.58, 69.01, 320.61°)
OKLaboklab(49.38% 0.1354 -0.1228)
OKLCHoklch(49.38% 0.183 317.8)
XYZxyz(18.2750, 10.4160, 35.6911)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33A3 #4CA333
analogous
#5233A3 #8A33A3 #A33384
triadic
#8A33A3 #A38A33 #33A38A
tetradic
#8A33A3 #A35233 #4CA333 #3384A3
square
#8A33A3 #A35233 #4CA333 #3384A3
split-complementary
#8A33A3 #84A333 #33A352
monochromatic
#3B1646 #632474 #8A33A3 #AC4CC7 #C17BD6

Accessibility & contrast

On white

6.81
#8A33A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8A33A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A33A3
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33A3#FFFFFF#000000##FFFFFF
##8A33A31.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#375EA0
Tritanopia (blue-blind)
#894867
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a33a3;
/* rgb */ color: rgb(138, 51, 163);
/* oklch */ color: oklch(49.4% 0.183 317.8);
Tailwind
colors: {
  custom: {
    50: '#af72bf',
    500: '#8a33a3',
    950: '#000000',
  },
}
SCSS
$custom: #8a33a3;
$custom-light: #af72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33a3",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 163
  },
  "hsl": {
    "h": 286.607,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49377,
    "c": 0.18283,
    "h": 317.8
  },
  "luminance": 0.10415
}

Semantic roles & 50–950 ramp

primary
#8A33A3
secondary
#84BE73
accent
#DC4C6C
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A33A3

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

Preview Lab → · Contrast checker → · Palette generator →

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