#A522C4#A522C4

#A522C4 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 54.0% C 0.239 H 318.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A522C4
RGBrgb(165, 34, 196)
HSLhsl(289, 70%, 45%)
HSVhsv(289, 83%, 77%)
CMYKcmyk(15.8%, 82.7%, 0%, 23.1%)
CIE-LABlab(42.96, 70.66, -56.04)
CIE-LCHlch(42.96, 90.19, 321.58°)
OKLaboklab(54.01% 0.1791 -0.1578)
OKLCHoklch(54.01% 0.239 318.6)
XYZxyz(26.0515, 13.1302, 53.3760)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A522C4 #41C422
analogous
#5422C4 #A522C4 #C42292
triadic
#A522C4 #C4A522 #22C4A5
tetradic
#A522C4 #C45422 #41C422 #2292C4
square
#A522C4 #C45422 #41C422 #2292C4
split-complementary
#A522C4 #92C422 #22C454
monochromatic
#4D105C #791990 #A522C4 #C145DF #D279E8

Accessibility & contrast

On white

5.79
#A522C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A522C4
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A522C4#FFFFFF#000000##FFFFFF
##A522C41.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#2D69C1
Tritanopia (blue-blind)
#A44976
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a522c4;
/* rgb */ color: rgb(165, 34, 196);
/* oklch */ color: oklch(54.0% 0.239 318.6);
Tailwind
colors: {
  custom: {
    50: '#c470d7',
    500: '#a522c4',
    950: '#000000',
  },
}
SCSS
$custom: #a522c4;
$custom-light: #c470d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a522c4",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 196
  },
  "hsl": {
    "h": 288.519,
    "s": 70.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54005,
    "c": 0.23868,
    "h": 318.6
  },
  "luminance": 0.13129
}

Semantic roles & 50–950 ramp

primary
#A522C4
secondary
#84CF73
accent
#ED3B5D
background
#FCF7FD
surface
#F9EDFA
border
#D2C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A522C4

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

Preview Lab → · Contrast checker → · Palette generator →

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