#A534D7#A534D7

#A534D7 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.6% C 0.239 H 312.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A534D7
RGBrgb(165, 52, 215)
HSLhsl(282, 67%, 52%)
HSVhsv(282, 76%, 84%)
CMYKcmyk(23.3%, 75.8%, 0%, 15.7%)
CIE-LABlab(46.13, 68.85, -61.90)
CIE-LCHlch(46.13, 92.59, 318.04°)
OKLaboklab(56.64% 0.1622 -0.1751)
OKLCHoklch(56.64% 0.239 312.8)
XYZxyz(29.0086, 15.3625, 65.7140)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A534D7 #66D734
analogous
#5434D7 #A534D7 #D734B8
triadic
#A534D7 #D7A534 #34D7A5
tetradic
#A534D7 #D75434 #66D734 #34B8D7
square
#A534D7 #D75434 #66D734 #34B8D7
split-complementary
#A534D7 #B8D734 #34D754
monochromatic
#5B1879 #8222AC #A534D7 #BC67E1 #D29AEB

Accessibility & contrast

On white

5.16
#A534D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#A534D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A534D7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A534D7#FFFFFF#000000##FFFFFF
##A534D71.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#1E70D4
Tritanopia (blue-blind)
#9F5A84
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a534d7;
/* rgb */ color: rgb(165, 52, 215);
/* oklch */ color: oklch(56.6% 0.239 312.8);
Tailwind
colors: {
  custom: {
    50: '#c577e4',
    500: '#a534d7',
    950: '#000000',
  },
}
SCSS
$custom: #a534d7;
$custom-light: #c577e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a534d7",
  "rgb": {
    "r": 165,
    "g": 52,
    "b": 215
  },
  "hsl": {
    "h": 281.595,
    "s": 67.078,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56644,
    "c": 0.23868,
    "h": 312.8
  },
  "luminance": 0.15362
}

Semantic roles & 50–950 ramp

primary
#A534D7
secondary
#A6D790
accent
#EA3E73
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A534D7

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

Preview Lab → · Contrast checker → · Palette generator →

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