#8522B4#8522B4

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

Color values

HEX#8522B4
RGBrgb(133, 34, 180)
HSLhsl(281, 68%, 42%)
HSVhsv(281, 81%, 71%)
CMYKcmyk(26.1%, 81.1%, 0%, 29.4%)
CIE-LABlab(36.79, 62.12, -56.86)
CIE-LCHlch(36.79, 84.21, 317.53°)
OKLaboklab(48.33% 0.1424 -0.1612)
OKLCHoklch(48.33% 0.215 311.4)
XYZxyz(18.4815, 9.4264, 44.0171)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8522B4 #51B422
analogous
#3C22B4 #8522B4 #B4229A
triadic
#8522B4 #B48522 #22B485
tetradic
#8522B4 #B43C22 #51B422 #229AB4
square
#8522B4 #B43C22 #51B422 #229AB4
split-complementary
#8522B4 #9AB422 #22B43C
monochromatic
#390F4D #5F1881 #8522B4 #A63ADA #BD6DE3

Accessibility & contrast

On white

7.28
#8522B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8522B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8522B4
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8522B4#FFFFFF#000000##FFFFFF
##8522B41.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8522b4;
/* rgb */ color: rgb(133, 34, 180);
/* oklch */ color: oklch(48.3% 0.215 311.4);
Tailwind
colors: {
  custom: {
    50: '#ae6acb',
    500: '#8522b4',
    950: '#000000',
  },
}
SCSS
$custom: #8522b4;
$custom-light: #ae6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#8522b4",
  "rgb": {
    "r": 133,
    "g": 34,
    "b": 180
  },
  "hsl": {
    "h": 280.685,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48331,
    "c": 0.21509,
    "h": 311.4
  },
  "luminance": 0.09426
}

Semantic roles & 50–950 ramp

primary
#8522B4
secondary
#88CA68
accent
#EB3D75
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8522B4

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

Preview Lab → · Contrast checker → · Palette generator →

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