#A52CB7#A52CB7

#A52CB7 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.220 H 322.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#A52CB7
RGBrgb(165, 44, 183)
HSLhsl(292, 61%, 45%)
HSVhsv(292, 76%, 72%)
CMYKcmyk(9.8%, 76%, 0%, 28.2%)
CIE-LABlab(43.09, 65.49, -48.21)
CIE-LCHlch(43.09, 81.32, 323.64°)
OKLaboklab(53.83% 0.1733 -0.1349)
OKLCHoklch(53.83% 0.22 322.1)
XYZxyz(24.9641, 13.2210, 46.0276)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52CB7 #3EB72C
analogous
#602CB7 #A52CB7 #B72C84
triadic
#A52CB7 #B7A52C #2CB7A5
tetradic
#A52CB7 #B7602C #3EB72C #2C84B7
square
#A52CB7 #B7602C #3EB72C #2C84B7
split-complementary
#A52CB7 #84B72C #2CB760
monochromatic
#4C1454 #792086 #A52CB7 #C24CD4 #D37EE0

Accessibility & contrast

On white

5.76
#A52CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A52CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52CB7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52CB7#FFFFFF#000000##FFFFFF
##A52CB71.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#406AB4
Tritanopia (blue-blind)
#A74770
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a52cb7;
/* rgb */ color: rgb(165, 44, 183);
/* oklch */ color: oklch(53.8% 0.220 322.1);
Tailwind
colors: {
  custom: {
    50: '#c473cd',
    500: '#a52cb7',
    950: '#000000',
  },
}
SCSS
$custom: #a52cb7;
$custom-light: #c473cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a52cb7",
  "rgb": {
    "r": 165,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 292.23,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53831,
    "c": 0.21958,
    "h": 322.1
  },
  "luminance": 0.1322
}

Semantic roles & 50–950 ramp

primary
#A52CB7
secondary
#81C876
accent
#E44358
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A52CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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