#8522A1#8522A1

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

Color values

HEX#8522A1
RGBrgb(133, 34, 161)
HSLhsl(287, 65%, 38%)
HSVhsv(287, 79%, 63%)
CMYKcmyk(17.4%, 78.9%, 0%, 36.9%)
CIE-LABlab(35.41, 58.33, -47.73)
CIE-LCHlch(35.41, 75.37, 320.71°)
OKLaboklab(46.92% 0.1461 -0.1344)
OKLCHoklch(46.92% 0.199 317.4)
XYZxyz(16.6770, 8.7046, 34.5130)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8522A1 #3EA122
analogous
#4622A1 #8522A1 #A1227D
triadic
#8522A1 #A18522 #22A185
tetradic
#8522A1 #A14622 #3EA122 #227DA1
square
#8522A1 #A14622 #3EA122 #227DA1
split-complementary
#8522A1 #7DA122 #22A146
monochromatic
#320D3C #5B176E #8522A1 #AE2DD3 #C260DD

Accessibility & contrast

On white

7.66
#8522A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8522A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8522A1
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8522A1#FFFFFF#000000##FFFFFF
##8522A11.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#25569E
Tritanopia (blue-blind)
#843F61
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8522a1;
/* rgb */ color: rgb(133, 34, 161);
/* oklch */ color: oklch(46.9% 0.199 317.4);
Tailwind
colors: {
  custom: {
    50: '#ad69bd',
    500: '#8522a1',
    950: '#000000',
  },
}
SCSS
$custom: #8522a1;
$custom-light: #ad69bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8522a1",
  "rgb": {
    "r": 133,
    "g": 34,
    "b": 161
  },
  "hsl": {
    "h": 286.772,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46924,
    "c": 0.1985,
    "h": 317.4
  },
  "luminance": 0.08704
}

Semantic roles & 50–950 ramp

primary
#8522A1
secondary
#73C25D
accent
#E84065
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8522A1

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

Preview Lab → · Contrast checker → · Palette generator →

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