#A534C2#A534C2

#A534C2 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.2% C 0.220 H 318.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#A534C2
RGBrgb(165, 52, 194)
HSLhsl(288, 58%, 48%)
HSVhsv(288, 73%, 76%)
CMYKcmyk(14.9%, 73.2%, 0%, 23.9%)
CIE-LABlab(44.73, 64.79, -52.02)
CIE-LCHlch(44.73, 83.09, 321.24°)
OKLaboklab(55.22% 0.1651 -0.1461)
OKLCHoklch(55.22% 0.22 318.5)
XYZxyz(26.4813, 14.3516, 52.4037)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A534C2 #51C234
analogous
#5E34C2 #A534C2 #C23498
triadic
#A534C2 #C2A534 #34C2A5
tetradic
#A534C2 #C25E34 #51C234 #3498C2
square
#A534C2 #C25E34 #51C234 #3498C2
split-complementary
#A534C2 #98C234 #34C25E
monochromatic
#531A61 #7C2792 #A534C2 #BC5FD4 #D08FE1

Accessibility & contrast

On white

5.43
#A534C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#A534C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A534C2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A534C2#FFFFFF#000000##FFFFFF
##A534C21.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#3C6DBF
Tritanopia (blue-blind)
#A45178
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a534c2;
/* rgb */ color: rgb(165, 52, 194);
/* oklch */ color: oklch(55.2% 0.220 318.5);
Tailwind
colors: {
  custom: {
    50: '#c477d5',
    500: '#a534c2',
    950: '#000000',
  },
}
SCSS
$custom: #a534c2;
$custom-light: #c477d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a534c2",
  "rgb": {
    "r": 165,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 287.746,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55216,
    "c": 0.22042,
    "h": 318.5
  },
  "luminance": 0.1435
}

Semantic roles & 50–950 ramp

primary
#A534C2
secondary
#94CC86
accent
#E14766
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A534C2

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

Preview Lab → · Contrast checker → · Palette generator →

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