#8528A2#8528A2

#8528A2 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.193 H 316.7°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8528A2
RGBrgb(133, 40, 162)
HSLhsl(286, 60%, 40%)
HSVhsv(286, 75%, 64%)
CMYKcmyk(17.9%, 75.3%, 0%, 36.5%)
CIE-LABlab(36.20, 56.44, -47.05)
CIE-LCHlch(36.20, 73.48, 320.18°)
OKLaboklab(47.51% 0.1406 -0.1325)
OKLCHoklch(47.51% 0.193 316.7)
XYZxyz(16.9523, 9.1135, 35.0415)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8528A2 #45A228
analogous
#4828A2 #8528A2 #A22882
triadic
#8528A2 #A28528 #28A285
tetradic
#8528A2 #A24828 #45A228 #2882A2
square
#8528A2 #A24828 #45A228 #2882A2
split-complementary
#8528A2 #82A228 #28A248
monochromatic
#341040 #5D1C71 #8528A2 #AB39CE #C06ADA

Accessibility & contrast

On white

7.44
#8528A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8528A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8528A2
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8528A2#FFFFFF#000000##FFFFFF
##8528A21.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#29589F
Tritanopia (blue-blind)
#834263
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8528a2;
/* rgb */ color: rgb(133, 40, 162);
/* oklch */ color: oklch(47.5% 0.193 316.7);
Tailwind
colors: {
  custom: {
    50: '#ac6cbe',
    500: '#8528a2',
    950: '#000000',
  },
}
SCSS
$custom: #8528a2;
$custom-light: #ac6cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8528a2",
  "rgb": {
    "r": 133,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 285.738,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47506,
    "c": 0.19316,
    "h": 316.7
  },
  "luminance": 0.09113
}

Semantic roles & 50–950 ramp

primary
#8528A2
secondary
#7BC165
accent
#E4446A
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8528A2

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

Preview Lab → · Contrast checker → · Palette generator →

#8528A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva