#8521B2#8521B2

#8521B2 is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.1% C 0.214 H 312.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8521B2
RGBrgb(133, 33, 178)
HSLhsl(281, 69%, 41%)
HSVhsv(281, 81%, 70%)
CMYKcmyk(25.3%, 81.5%, 0%, 30.2%)
CIE-LABlab(36.54, 62.02, -56.09)
CIE-LCHlch(36.54, 83.62, 317.87°)
OKLaboklab(48.1% 0.1436 -0.1589)
OKLCHoklch(48.1% 0.214 312.1)
XYZxyz(18.2511, 9.2891, 42.9424)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8521B2 #4EB221
analogous
#3D21B2 #8521B2 #B22197
triadic
#8521B2 #B28521 #21B285
tetradic
#8521B2 #B23D21 #4EB221 #2197B2
square
#8521B2 #B23D21 #4EB221 #2197B2
split-complementary
#8521B2 #97B221 #21B23D
monochromatic
#380E4B #5E177E #8521B2 #A736DA #BE6AE3

Accessibility & contrast

On white

7.35
#8521B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8521B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8521B2
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8521B2#FFFFFF#000000##FFFFFF
##8521B21.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0058AF
Tritanopia (blue-blind)
#7F466B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8521b2;
/* rgb */ color: rgb(133, 33, 178);
/* oklch */ color: oklch(48.1% 0.214 312.1);
Tailwind
colors: {
  custom: {
    50: '#ae6aca',
    500: '#8521b2',
    950: '#000000',
  },
}
SCSS
$custom: #8521b2;
$custom-light: #ae6aca;
$custom-dark: #000000;
JSON
{
  "hex": "#8521b2",
  "rgb": {
    "r": 133,
    "g": 33,
    "b": 178
  },
  "hsl": {
    "h": 281.379,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48103,
    "c": 0.2142,
    "h": 312.1
  },
  "luminance": 0.09289
}

Semantic roles & 50–950 ramp

primary
#8521B2
secondary
#84C966
accent
#EC3C73
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8521B2

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

Preview Lab → · Contrast checker → · Palette generator →

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