#A52ABC#A52ABC

#A52ABC is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.226 H 320.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#A52ABC
RGBrgb(165, 42, 188)
HSLhsl(291, 63%, 45%)
HSVhsv(291, 78%, 74%)
CMYKcmyk(12.2%, 77.7%, 0%, 26.3%)
CIE-LABlab(43.19, 67.00, -50.99)
CIE-LCHlch(43.19, 84.20, 322.73°)
OKLaboklab(54% 0.1744 -0.143)
OKLCHoklch(54% 0.226 320.7)
XYZxyz(25.4210, 13.2875, 48.7929)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52ABC #41BC2A
analogous
#5C2ABC #A52ABC #BC2A8A
triadic
#A52ABC #BCA52A #2ABCA5
tetradic
#A52ABC #BC5C2A #41BC2A #2A8ABC
square
#A52ABC #BC5C2A #41BC2A #2A8ABC
split-complementary
#A52ABC #8ABC2A #2ABC5C
monochromatic
#4D1458 #791F8A #A52ABC #C14CD7 #D27EE2

Accessibility & contrast

On white

5.74
#A52ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#A52ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52ABC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52ABC#FFFFFF#000000##FFFFFF
##A52ABC1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#3B6AB9
Tritanopia (blue-blind)
#A64973
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a52abc;
/* rgb */ color: rgb(165, 42, 188);
/* oklch */ color: oklch(54.0% 0.226 320.7);
Tailwind
colors: {
  custom: {
    50: '#c472d1',
    500: '#a52abc',
    950: '#000000',
  },
}
SCSS
$custom: #a52abc;
$custom-light: #c472d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a52abc",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 188
  },
  "hsl": {
    "h": 290.548,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54002,
    "c": 0.22556,
    "h": 320.7
  },
  "luminance": 0.13286
}

Semantic roles & 50–950 ramp

primary
#A52ABC
secondary
#84CB77
accent
#E7415B
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A52ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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