#A522BD#A522BD

#A522BD is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.5% C 0.233 H 320.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A522BD
RGBrgb(165, 34, 189)
HSLhsl(291, 70%, 44%)
HSVhsv(291, 82%, 74%)
CMYKcmyk(12.7%, 82%, 0%, 25.9%)
CIE-LABlab(42.49, 69.41, -52.71)
CIE-LCHlch(42.49, 87.16, 322.79°)
OKLaboklab(53.53% 0.1802 -0.148)
OKLCHoklch(53.53% 0.233 320.6)
XYZxyz(25.2733, 12.8189, 49.2773)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A522BD #3ABD22
analogous
#5722BD #A522BD #BD2287
triadic
#A522BD #BDA522 #22BDA5
tetradic
#A522BD #BD5722 #3ABD22 #2287BD
square
#A522BD #BD5722 #3ABD22 #2287BD
split-complementary
#A522BD #87BD22 #22BD57
monochromatic
#4A0F55 #781989 #A522BD #C440DD #D473E6

Accessibility & contrast

On white

5.89
#A522BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A522BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A522BD
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A522BD#FFFFFF#000000##FFFFFF
##A522BD1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#3569BA
Tritanopia (blue-blind)
#A64672
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a522bd;
/* rgb */ color: rgb(165, 34, 189);
/* oklch */ color: oklch(53.5% 0.233 320.6);
Tailwind
colors: {
  custom: {
    50: '#c46fd2',
    500: '#a522bd',
    950: '#000000',
  },
}
SCSS
$custom: #a522bd;
$custom-light: #c46fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a522bd",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 290.71,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53526,
    "c": 0.2332,
    "h": 320.6
  },
  "luminance": 0.12818
}

Semantic roles & 50–950 ramp

primary
#A522BD
secondary
#7DCD6E
accent
#EC3B57
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83

Preview Lab

Preview with #A522BD

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

Preview Lab → · Contrast checker → · Palette generator →

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