#8531A2#8531A2

#8531A2 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.4% C 0.182 H 316.1°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8531A2
RGBrgb(133, 49, 162)
HSLhsl(285, 54%, 41%)
HSVhsv(285, 70%, 64%)
CMYKcmyk(17.9%, 69.8%, 0%, 36.5%)
CIE-LABlab(37.47, 52.85, -45.02)
CIE-LCHlch(37.47, 69.43, 319.58°)
OKLaboklab(48.41% 0.1314 -0.1266)
OKLCHoklch(48.41% 0.182 316.1)
XYZxyz(17.2918, 9.7925, 35.1547)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8531A2 #4EA231
analogous
#4D31A2 #8531A2 #A23187
triadic
#8531A2 #A28531 #31A285
tetradic
#8531A2 #A24D31 #4EA231 #3187A2
square
#8531A2 #A24D31 #4EA231 #3187A2
split-complementary
#8531A2 #87A231 #31A24D
monochromatic
#381544 #5E2373 #8531A2 #A748C8 #BE77D6

Accessibility & contrast

On white

7.10
#8531A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8531A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8531A2
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8531A2#FFFFFF#000000##FFFFFF
##8531A21.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#315B9F
Tritanopia (blue-blind)
#834766
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8531a2;
/* rgb */ color: rgb(133, 49, 162);
/* oklch */ color: oklch(48.4% 0.182 316.1);
Tailwind
colors: {
  custom: {
    50: '#ac70be',
    500: '#8531a2',
    950: '#000000',
  },
}
SCSS
$custom: #8531a2;
$custom-light: #ac70be;
$custom-dark: #000000;
JSON
{
  "hex": "#8531a2",
  "rgb": {
    "r": 133,
    "g": 49,
    "b": 162
  },
  "hsl": {
    "h": 284.602,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48408,
    "c": 0.18243,
    "h": 316.1
  },
  "luminance": 0.09792
}

Semantic roles & 50–950 ramp

primary
#8531A2
secondary
#84BE71
accent
#DD4B70
background
#FAF7FB
surface
#F5EDF7
border
#CFC8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8531A2

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

Preview Lab → · Contrast checker → · Palette generator →

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