#8534A2#8534A2

#8534A2 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.7% C 0.178 H 315.8°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8534A2
RGBrgb(133, 52, 162)
HSLhsl(284, 51%, 42%)
HSVhsv(284, 68%, 64%)
CMYKcmyk(17.9%, 67.9%, 0%, 36.5%)
CIE-LABlab(37.94, 51.54, -44.27)
CIE-LCHlch(37.94, 67.94, 319.34°)
OKLaboklab(48.74% 0.128 -0.1244)
OKLCHoklch(48.74% 0.179 315.8)
XYZxyz(17.4214, 10.0518, 35.1979)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8534A2 #51A234
analogous
#4E34A2 #8534A2 #A23488
triadic
#8534A2 #A28534 #34A285
tetradic
#8534A2 #A24E34 #51A234 #3488A2
square
#8534A2 #A24E34 #51A234 #3488A2
split-complementary
#8534A2 #88A234 #34A24E
monochromatic
#391645 #5F2574 #8534A2 #A64DC6 #BD7CD5

Accessibility & contrast

On white

6.98
#8534A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8534A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8534A2
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8534A2#FFFFFF#000000##FFFFFF
##8534A21.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#335C9F
Tritanopia (blue-blind)
#834967
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8534a2;
/* rgb */ color: rgb(133, 52, 162);
/* oklch */ color: oklch(48.7% 0.178 315.8);
Tailwind
colors: {
  custom: {
    50: '#ac72be',
    500: '#8534a2',
    950: '#000000',
  },
}
SCSS
$custom: #8534a2;
$custom-light: #ac72be;
$custom-dark: #000000;
JSON
{
  "hex": "#8534a2",
  "rgb": {
    "r": 133,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 284.182,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48743,
    "c": 0.1785,
    "h": 315.8
  },
  "luminance": 0.10051
}

Semantic roles & 50–950 ramp

primary
#8534A2
secondary
#88BE74
accent
#DB4D72
background
#FAF7FB
surface
#F5EDF7
border
#CFC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8534A2

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

Preview Lab → · Contrast checker → · Palette generator →

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