#8522A7#8522A7

#8522A7 is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.4% C 0.204 H 315.4°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#8522A7
RGBrgb(133, 34, 167)
HSLhsl(285, 66%, 39%)
HSVhsv(285, 80%, 65%)
CMYKcmyk(20.4%, 79.6%, 0%, 34.5%)
CIE-LABlab(35.83, 59.50, -50.66)
CIE-LCHlch(35.83, 78.15, 319.59°)
OKLaboklab(47.36% 0.1451 -0.143)
OKLCHoklch(47.36% 0.204 315.4)
XYZxyz(17.2188, 8.9213, 37.3667)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8522A7 #44A722
analogous
#4322A7 #8522A7 #A72286
triadic
#8522A7 #A78522 #22A785
tetradic
#8522A7 #A74322 #44A722 #2286A7
square
#8522A7 #A74322 #44A722 #2286A7
split-complementary
#8522A7 #86A722 #22A743
monochromatic
#340D41 #5D1874 #8522A7 #AB31D5 #C064DF

Accessibility & contrast

On white

7.54
#8522A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8522A7
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8522A7#FFFFFF#000000##FFFFFF
##8522A71.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#1C57A4
Tritanopia (blue-blind)
#824165
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8522a7;
/* rgb */ color: rgb(133, 34, 167);
/* oklch */ color: oklch(47.4% 0.204 315.4);
Tailwind
colors: {
  custom: {
    50: '#ad6ac2',
    500: '#8522a7',
    950: '#000000',
  },
}
SCSS
$custom: #8522a7;
$custom-light: #ad6ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#8522a7",
  "rgb": {
    "r": 133,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 284.662,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47356,
    "c": 0.20371,
    "h": 315.4
  },
  "luminance": 0.08921
}

Semantic roles & 50–950 ramp

primary
#8522A7
secondary
#7AC560
accent
#E93F6A
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8522A7

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

Preview Lab → · Contrast checker → · Palette generator →

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