#A534B7#A534B7

#A534B7 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.5% C 0.211 H 321.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#A534B7
RGBrgb(165, 52, 183)
HSLhsl(292, 56%, 46%)
HSVhsv(292, 72%, 72%)
CMYKcmyk(9.8%, 71.6%, 0%, 28.2%)
CIE-LABlab(44.05, 62.75, -46.68)
CIE-LCHlch(44.05, 78.20, 323.35°)
OKLaboklab(54.52% 0.1659 -0.1304)
OKLCHoklch(54.52% 0.211 321.8)
XYZxyz(25.2914, 13.8756, 46.1367)
Luminance0.1387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A534B7 #46B734
analogous
#6334B7 #A534B7 #B73487
triadic
#A534B7 #B7A534 #34B7A5
tetradic
#A534B7 #B76334 #46B734 #3487B7
square
#A534B7 #B76334 #46B734 #3487B7
split-complementary
#A534B7 #87B734 #34B763
monochromatic
#4F1958 #7A2687 #A534B7 #BF59D0 #D288DD

Accessibility & contrast

On white

5.56
#A534B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#A534B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A534B7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A534B7#FFFFFF#000000##FFFFFF
##A534B71.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#456CB4
Tritanopia (blue-blind)
#A74C72
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a534b7;
/* rgb */ color: rgb(165, 52, 183);
/* oklch */ color: oklch(54.5% 0.211 321.8);
Tailwind
colors: {
  custom: {
    50: '#c376cd',
    500: '#a534b7',
    950: '#000000',
  },
}
SCSS
$custom: #a534b7;
$custom-light: #c376cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a534b7",
  "rgb": {
    "r": 165,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 291.756,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54515,
    "c": 0.21102,
    "h": 321.8
  },
  "luminance": 0.13874
}

Semantic roles & 50–950 ramp

primary
#A534B7
secondary
#89C780
accent
#DF495D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A534B7

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

Preview Lab → · Contrast checker → · Palette generator →

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