#8522A6#8522A6

#8522A6 is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.3% C 0.203 H 315.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#8522A6
RGBrgb(133, 34, 166)
HSLhsl(285, 66%, 39%)
HSVhsv(285, 80%, 65%)
CMYKcmyk(19.9%, 79.5%, 0%, 34.9%)
CIE-LABlab(35.76, 59.30, -50.17)
CIE-LCHlch(35.76, 77.68, 319.77°)
OKLaboklab(47.28% 0.1453 -0.1416)
OKLCHoklch(47.28% 0.203 315.7)
XYZxyz(17.1267, 8.8845, 36.8817)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8522A6 #43A622
analogous
#4322A6 #8522A6 #A62285
triadic
#8522A6 #A68522 #22A685
tetradic
#8522A6 #A64322 #43A622 #2285A6
square
#8522A6 #A64322 #43A622 #2285A6
split-complementary
#8522A6 #85A622 #22A643
monochromatic
#340D40 #5C1873 #8522A6 #AC30D5 #C063DF

Accessibility & contrast

On white

7.56
#8522A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8522A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8522A6
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8522A6#FFFFFF#000000##FFFFFF
##8522A61.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#1E57A3
Tritanopia (blue-blind)
#824164
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8522a6;
/* rgb */ color: rgb(133, 34, 166);
/* oklch */ color: oklch(47.3% 0.203 315.7);
Tailwind
colors: {
  custom: {
    50: '#ad6ac1',
    500: '#8522a6',
    950: '#000000',
  },
}
SCSS
$custom: #8522a6;
$custom-light: #ad6ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#8522a6",
  "rgb": {
    "r": 133,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 285,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47283,
    "c": 0.20284,
    "h": 315.7
  },
  "luminance": 0.08884
}

Semantic roles & 50–950 ramp

primary
#8522A6
secondary
#79C45F
accent
#E93F69
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8522A6

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

Preview Lab → · Contrast checker → · Palette generator →

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