#A524AF#A524AF

#A524AF is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.221 H 324.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#A524AF
RGBrgb(165, 36, 175)
HSLhsl(296, 66%, 41%)
HSVhsv(296, 79%, 69%)
CMYKcmyk(5.7%, 79.4%, 0%, 31.4%)
CIE-LABlab(41.78, 66.48, -45.59)
CIE-LCHlch(41.78, 80.61, 325.56°)
OKLaboklab(52.74% 0.1804 -0.1272)
OKLCHoklch(52.74% 0.221 324.8)
XYZxyz(23.8852, 12.3578, 41.6764)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A524AF #2EAF24
analogous
#5F24AF #A524AF #AF2474
triadic
#A524AF #AFA524 #24AFA5
tetradic
#A524AF #AF5F24 #2EAF24 #2474AF
square
#A524AF #AF5F24 #2EAF24 #2474AF
split-complementary
#A524AF #74AF24 #24AF5F
monochromatic
#450F49 #751A7C #A524AF #CB3AD6 #D86DE1

Accessibility & contrast

On white

6.05
#A524AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A524AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A524AF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A524AF#FFFFFF#000000##FFFFFF
##A524AF1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#4368AC
Tritanopia (blue-blind)
#A93F6A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a524af;
/* rgb */ color: rgb(165, 36, 175);
/* oklch */ color: oklch(52.7% 0.221 324.8);
Tailwind
colors: {
  custom: {
    50: '#c46fc7',
    500: '#a524af',
    950: '#000000',
  },
}
SCSS
$custom: #a524af;
$custom-light: #c46fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#a524af",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 295.683,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52741,
    "c": 0.22072,
    "h": 324.8
  },
  "luminance": 0.12356
}

Semantic roles & 50–950 ramp

primary
#A524AF
secondary
#6FC768
accent
#E93F4B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A524AF

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

Preview Lab → · Contrast checker → · Palette generator →

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