#8521B4#8521B4

#8521B4 is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.3% C 0.216 H 311.5°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8521B4
RGBrgb(133, 33, 180)
HSLhsl(281, 69%, 42%)
HSVhsv(281, 82%, 71%)
CMYKcmyk(26.1%, 81.7%, 0%, 29.4%)
CIE-LABlab(36.69, 62.42, -57.03)
CIE-LCHlch(36.69, 84.55, 317.58°)
OKLaboklab(48.26% 0.1431 -0.1617)
OKLCHoklch(48.26% 0.216 311.5)
XYZxyz(18.4534, 9.3700, 44.0077)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8521B4 #50B421
analogous
#3B21B4 #8521B4 #B4219A
triadic
#8521B4 #B48521 #21B485
tetradic
#8521B4 #B43B21 #50B421 #219AB4
square
#8521B4 #B43B21 #50B421 #219AB4
split-complementary
#8521B4 #9AB421 #21B43B
monochromatic
#390E4D #5F1880 #8521B4 #A638DA #BD6BE4

Accessibility & contrast

On white

7.31
#8521B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8521B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8521B4
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8521B4#FFFFFF#000000##FFFFFF
##8521B41.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#7F476C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8521b4;
/* rgb */ color: rgb(133, 33, 180);
/* oklch */ color: oklch(48.3% 0.216 311.5);
Tailwind
colors: {
  custom: {
    50: '#ae6acb',
    500: '#8521b4',
    950: '#000000',
  },
}
SCSS
$custom: #8521b4;
$custom-light: #ae6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#8521b4",
  "rgb": {
    "r": 133,
    "g": 33,
    "b": 180
  },
  "hsl": {
    "h": 280.816,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48257,
    "c": 0.21595,
    "h": 311.5
  },
  "luminance": 0.0937
}

Semantic roles & 50–950 ramp

primary
#8521B4
secondary
#87CA67
accent
#EC3C74
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8521B4

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

Preview Lab → · Contrast checker → · Palette generator →

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