#A52AC3#A52AC3

#A52AC3 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.5% C 0.231 H 318.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#A52AC3
RGBrgb(165, 42, 195)
HSLhsl(288, 65%, 46%)
HSVhsv(288, 78%, 76%)
CMYKcmyk(15.4%, 78.5%, 0%, 23.5%)
CIE-LABlab(43.65, 68.27, -54.35)
CIE-LCHlch(43.65, 87.26, 321.48°)
OKLaboklab(54.47% 0.1735 -0.1529)
OKLCHoklch(54.47% 0.231 318.6)
XYZxyz(26.1940, 13.5967, 52.8639)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52AC3 #48C32A
analogous
#592AC3 #A52AC3 #C32A95
triadic
#A52AC3 #C3A52A #2AC3A5
tetradic
#A52AC3 #C3592A #48C32A #2A95C3
square
#A52AC3 #C3592A #48C32A #2A95C3
split-complementary
#A52AC3 #95C32A #2AC359
monochromatic
#50145E #7A1F91 #A52AC3 #BF51D9 #D183E4

Accessibility & contrast

On white

5.65
#A52AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#A52AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52AC3
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52AC3#FFFFFF#000000##FFFFFF
##A52AC31.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#346BC0
Tritanopia (blue-blind)
#A44C77
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a52ac3;
/* rgb */ color: rgb(165, 42, 195);
/* oklch */ color: oklch(54.5% 0.231 318.6);
Tailwind
colors: {
  custom: {
    50: '#c472d6',
    500: '#a52ac3',
    950: '#000000',
  },
}
SCSS
$custom: #a52ac3;
$custom-light: #c472d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ac3",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 195
  },
  "hsl": {
    "h": 288.235,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54469,
    "c": 0.23126,
    "h": 318.6
  },
  "luminance": 0.13595
}

Semantic roles & 50–950 ramp

primary
#A52AC3
secondary
#8CCD7B
accent
#E84061
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A52AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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