#A52CB4#A52CB4

#A52CB4 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.217 H 323.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#A52CB4
RGBrgb(165, 44, 180)
HSLhsl(293, 61%, 44%)
HSVhsv(293, 76%, 71%)
CMYKcmyk(8.3%, 75.6%, 0%, 29.4%)
CIE-LABlab(42.91, 64.96, -46.74)
CIE-LCHlch(42.91, 80.03, 324.26°)
OKLaboklab(53.64% 0.1735 -0.1306)
OKLCHoklch(53.64% 0.217 323)
XYZxyz(24.6552, 13.0975, 44.4006)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52CB4 #3BB42C
analogous
#612CB4 #A52CB4 #B42C7F
triadic
#A52CB4 #B4A52C #2CB4A5
tetradic
#A52CB4 #B4612C #3BB42C #2C7FB4
square
#A52CB4 #B4612C #3BB42C #2C7FB4
split-complementary
#A52CB4 #7FB42C #2CB461
monochromatic
#4B1452 #782083 #A52CB4 #C44AD3 #D47CDF

Accessibility & contrast

On white

5.80
#A52CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#A52CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52CB4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52CB4#FFFFFF#000000##FFFFFF
##A52CB41.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#436AB1
Tritanopia (blue-blind)
#A7466F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a52cb4;
/* rgb */ color: rgb(165, 44, 180);
/* oklch */ color: oklch(53.6% 0.217 323.0);
Tailwind
colors: {
  custom: {
    50: '#c473cb',
    500: '#a52cb4',
    950: '#000000',
  },
}
SCSS
$custom: #a52cb4;
$custom-light: #c473cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a52cb4",
  "rgb": {
    "r": 165,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 293.382,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53641,
    "c": 0.21715,
    "h": 323
  },
  "luminance": 0.13096
}

Semantic roles & 50–950 ramp

primary
#A52CB4
secondary
#7EC775
accent
#E44456
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A52CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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