#A52AC2#A52AC2

#A52AC2 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.4% C 0.230 H 318.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A52AC2
RGBrgb(165, 42, 194)
HSLhsl(289, 64%, 46%)
HSVhsv(289, 78%, 76%)
CMYKcmyk(14.9%, 78.4%, 0%, 23.9%)
CIE-LABlab(43.58, 68.09, -53.87)
CIE-LCHlch(43.58, 86.82, 321.65°)
OKLaboklab(54.4% 0.1737 -0.1514)
OKLCHoklch(54.4% 0.23 318.9)
XYZxyz(26.0813, 13.5516, 52.2704)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52AC2 #47C22A
analogous
#592AC2 #A52AC2 #C22A93
triadic
#A52AC2 #C2A52A #2AC2A5
tetradic
#A52AC2 #C2592A #47C22A #2A93C2
square
#A52AC2 #C2592A #47C22A #2A93C2
split-complementary
#A52AC2 #93C22A #2AC259
monochromatic
#4F145D #7A1F90 #A52AC2 #BF50D9 #D182E4

Accessibility & contrast

On white

5.66
#A52AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#A52AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52AC2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52AC2#FFFFFF#000000##FFFFFF
##A52AC21.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#356BBF
Tritanopia (blue-blind)
#A54C76
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a52ac2;
/* rgb */ color: rgb(165, 42, 194);
/* oklch */ color: oklch(54.4% 0.230 318.9);
Tailwind
colors: {
  custom: {
    50: '#c472d5',
    500: '#a52ac2',
    950: '#000000',
  },
}
SCSS
$custom: #a52ac2;
$custom-light: #c472d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ac2",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 194
  },
  "hsl": {
    "h": 288.553,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54401,
    "c": 0.23043,
    "h": 318.9
  },
  "luminance": 0.1355
}

Semantic roles & 50–950 ramp

primary
#A52AC2
secondary
#8BCD7B
accent
#E74060
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A52AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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