#8522A2#8522A2

#8522A2 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 47.0% C 0.199 H 317.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8522A2
RGBrgb(133, 34, 162)
HSLhsl(286, 65%, 38%)
HSVhsv(286, 79%, 64%)
CMYKcmyk(17.9%, 79%, 0%, 36.5%)
CIE-LABlab(35.48, 58.52, -48.22)
CIE-LCHlch(35.48, 75.83, 320.51°)
OKLaboklab(47% 0.1459 -0.1358)
OKLCHoklch(47% 0.199 317)
XYZxyz(16.7655, 8.7400, 34.9793)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8522A2 #3FA222
analogous
#4522A2 #8522A2 #A2227F
triadic
#8522A2 #A28522 #22A285
tetradic
#8522A2 #A24522 #3FA222 #227FA2
square
#8522A2 #A24522 #3FA222 #227FA2
split-complementary
#8522A2 #7FA222 #22A245
monochromatic
#320D3D #5B176F #8522A2 #AE2ED3 #C161DE

Accessibility & contrast

On white

7.64
#8522A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8522A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8522A2
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8522A2#FFFFFF#000000##FFFFFF
##8522A21.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#24569F
Tritanopia (blue-blind)
#833F62
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8522a2;
/* rgb */ color: rgb(133, 34, 162);
/* oklch */ color: oklch(47.0% 0.199 317.0);
Tailwind
colors: {
  custom: {
    50: '#ad69be',
    500: '#8522a2',
    950: '#000000',
  },
}
SCSS
$custom: #8522a2;
$custom-light: #ad69be;
$custom-dark: #000000;
JSON
{
  "hex": "#8522a2",
  "rgb": {
    "r": 133,
    "g": 34,
    "b": 162
  },
  "hsl": {
    "h": 286.406,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46995,
    "c": 0.19936,
    "h": 317
  },
  "luminance": 0.08739
}

Semantic roles & 50–950 ramp

primary
#8522A2
secondary
#74C35D
accent
#E84066
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8522A2

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

Preview Lab → · Contrast checker → · Palette generator →

#8522A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva