#8520B2#8520B2

#8520B2 is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 48.0% C 0.215 H 312.1°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8520B2
RGBrgb(133, 32, 178)
HSLhsl(282, 70%, 41%)
HSVhsv(282, 82%, 70%)
CMYKcmyk(25.3%, 82%, 0%, 30.2%)
CIE-LABlab(36.43, 62.32, -56.26)
CIE-LCHlch(36.43, 83.96, 317.93°)
OKLaboklab(48.03% 0.1443 -0.1594)
OKLCHoklch(48.03% 0.215 312.1)
XYZxyz(18.2238, 9.2344, 42.9333)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8520B2 #4DB220
analogous
#3C20B2 #8520B2 #B22096
triadic
#8520B2 #B28520 #20B285
tetradic
#8520B2 #B23C20 #4DB220 #2096B2
square
#8520B2 #B23C20 #4DB220 #2096B2
split-complementary
#8520B2 #96B220 #20B23C
monochromatic
#370D4A #5E177E #8520B2 #A735DB #BE68E4

Accessibility & contrast

On white

7.38
#8520B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8520B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8520B2
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8520B2#FFFFFF#000000##FFFFFF
##8520B21.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.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: #8520b2;
/* rgb */ color: rgb(133, 32, 178);
/* oklch */ color: oklch(48.0% 0.215 312.1);
Tailwind
colors: {
  custom: {
    50: '#ae6aca',
    500: '#8520b2',
    950: '#000000',
  },
}
SCSS
$custom: #8520b2;
$custom-light: #ae6aca;
$custom-dark: #000000;
JSON
{
  "hex": "#8520b2",
  "rgb": {
    "r": 133,
    "g": 32,
    "b": 178
  },
  "hsl": {
    "h": 281.507,
    "s": 69.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48031,
    "c": 0.21505,
    "h": 312.1
  },
  "luminance": 0.09234
}

Semantic roles & 50–950 ramp

primary
#8520B2
secondary
#83CA64
accent
#EC3B72
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8520B2

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

Preview Lab → · Contrast checker → · Palette generator →

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