#8522B1#8522B1

#8522B1 is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.1% C 0.212 H 312.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8522B1
RGBrgb(133, 34, 177)
HSLhsl(282, 68%, 41%)
HSVhsv(282, 81%, 69%)
CMYKcmyk(24.9%, 80.8%, 0%, 30.6%)
CIE-LABlab(36.57, 61.50, -55.45)
CIE-LCHlch(36.57, 82.81, 317.97°)
OKLaboklab(48.1% 0.1431 -0.1571)
OKLCHoklch(48.1% 0.212 312.3)
XYZxyz(18.1792, 9.3055, 42.4249)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8522B1 #4EB122
analogous
#3D22B1 #8522B1 #B12296
triadic
#8522B1 #B18522 #22B185
tetradic
#8522B1 #B13D22 #4EB122 #2296B1
square
#8522B1 #B13D22 #4EB122 #2296B1
split-complementary
#8522B1 #96B122 #22B13D
monochromatic
#380E4A #5E187E #8522B1 #A738D9 #BE6BE3

Accessibility & contrast

On white

7.34
#8522B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8522B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8522B1
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8522B1#FFFFFF#000000##FFFFFF
##8522B11.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0058AE
Tritanopia (blue-blind)
#80466B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8522b1;
/* rgb */ color: rgb(133, 34, 177);
/* oklch */ color: oklch(48.1% 0.212 312.3);
Tailwind
colors: {
  custom: {
    50: '#ad6ac9',
    500: '#8522b1',
    950: '#000000',
  },
}
SCSS
$custom: #8522b1;
$custom-light: #ad6ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#8522b1",
  "rgb": {
    "r": 133,
    "g": 34,
    "b": 177
  },
  "hsl": {
    "h": 281.538,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48101,
    "c": 0.21246,
    "h": 312.3
  },
  "luminance": 0.09305
}

Semantic roles & 50–950 ramp

primary
#8522B1
secondary
#84C966
accent
#EB3D73
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8522B1

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

Preview Lab → · Contrast checker → · Palette generator →

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