#8521A2#8521A2

#8521A2 is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 46.9% C 0.200 H 317.1°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#8521A2
RGBrgb(133, 33, 162)
HSLhsl(287, 66%, 38%)
HSVhsv(287, 80%, 64%)
CMYKcmyk(17.9%, 79.6%, 0%, 36.5%)
CIE-LABlab(35.37, 58.84, -48.40)
CIE-LCHlch(35.37, 76.19, 320.56°)
OKLaboklab(46.92% 0.1467 -0.1364)
OKLCHoklch(46.92% 0.2 317.1)
XYZxyz(16.7373, 8.6836, 34.9699)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8521A2 #3EA221
analogous
#4521A2 #8521A2 #A2217E
triadic
#8521A2 #A28521 #21A285
tetradic
#8521A2 #A24521 #3EA221 #217EA2
square
#8521A2 #A24521 #3EA221 #217EA2
split-complementary
#8521A2 #7EA221 #21A245
monochromatic
#320C3C #5B176F #8521A2 #AE2CD4 #C25FDE

Accessibility & contrast

On white

7.67
#8521A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8521A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8521A2
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8521A2#FFFFFF#000000##FFFFFF
##8521A21.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8521a2;
/* rgb */ color: rgb(133, 33, 162);
/* oklch */ color: oklch(46.9% 0.200 317.1);
Tailwind
colors: {
  custom: {
    50: '#ad69be',
    500: '#8521a2',
    950: '#000000',
  },
}
SCSS
$custom: #8521a2;
$custom-light: #ad69be;
$custom-dark: #000000;
JSON
{
  "hex": "#8521a2",
  "rgb": {
    "r": 133,
    "g": 33,
    "b": 162
  },
  "hsl": {
    "h": 286.512,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46917,
    "c": 0.20032,
    "h": 317.1
  },
  "luminance": 0.08683
}

Semantic roles & 50–950 ramp

primary
#8521A2
secondary
#73C35C
accent
#E93F65
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8521A2

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

Preview Lab → · Contrast checker → · Palette generator →

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