#A534A5#A534A5

#A534A5 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.4% C 0.196 H 327.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A534A5
RGBrgb(165, 52, 165)
HSLhsl(300, 52%, 43%)
HSVhsv(300, 68%, 65%)
CMYKcmyk(0%, 68.5%, 0%, 35.3%)
CIE-LABlab(43.02, 59.57, -37.67)
CIE-LCHlch(43.02, 70.48, 327.69°)
OKLaboklab(53.44% 0.1661 -0.1042)
OKLCHoklch(53.44% 0.196 327.9)
XYZxyz(23.5363, 13.1736, 36.8931)
Luminance0.1317 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A534A5 #34A534
analogous
#6C34A5 #A534A5 #A5346C
triadic
#A534A5 #A5A534 #34A5A5
tetradic
#A534A5 #A56C34 #34A534 #346CA5
square
#A534A5 #A56C34 #34A534 #346CA5
split-complementary
#A534A5 #6CA534 #34A56C
monochromatic
#481748 #762576 #A534A5 #C74FC7 #D67DD6

Accessibility & contrast

On white

5.78
#A534A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A534A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A534A5
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A534A5#FFFFFF#000000##FFFFFF
##A534A51.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225CA8
Deuteranopia (green-blind)
#516BA2
Tritanopia (blue-blind)
#AA4469
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a534a5;
/* rgb */ color: rgb(165, 52, 165);
/* oklch */ color: oklch(53.4% 0.196 327.9);
Tailwind
colors: {
  custom: {
    50: '#c375c0',
    500: '#a534a5',
    950: '#000000',
  },
}
SCSS
$custom: #a534a5;
$custom-light: #c375c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a534a5",
  "rgb": {
    "r": 165,
    "g": 52,
    "b": 165
  },
  "hsl": {
    "h": 300,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53444,
    "c": 0.19608,
    "h": 327.9
  },
  "luminance": 0.13172
}

Semantic roles & 50–950 ramp

primary
#A534A5
secondary
#76BF76
accent
#DC4C4C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A534A5

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

Preview Lab → · Contrast checker → · Palette generator →

#A534A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva