#A52FB4#A52FB4

#A52FB4 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.214 H 322.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A52FB4
RGBrgb(165, 47, 180)
HSLhsl(293, 59%, 45%)
HSVhsv(293, 74%, 71%)
CMYKcmyk(8.3%, 73.9%, 0%, 29.4%)
CIE-LABlab(43.26, 63.97, -46.19)
CIE-LCHlch(43.26, 78.90, 324.17°)
OKLaboklab(53.89% 0.1708 -0.129)
OKLCHoklch(53.89% 0.214 322.9)
XYZxyz(24.7710, 13.3291, 44.4392)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52FB4 #3EB42F
analogous
#632FB4 #A52FB4 #B42F81
triadic
#A52FB4 #B4A52F #2FB4A5
tetradic
#A52FB4 #B4632F #3EB42F #2F81B4
square
#A52FB4 #B4632F #3EB42F #2F81B4
split-complementary
#A52FB4 #81B42F #2FB463
monochromatic
#4C1653 #792283 #A52FB4 #C24FD1 #D380DE

Accessibility & contrast

On white

5.73
#A52FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A52FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52FB4
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52FB4#FFFFFF#000000##FFFFFF
##A52FB41.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#446BB1
Tritanopia (blue-blind)
#A7486F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a52fb4;
/* rgb */ color: rgb(165, 47, 180);
/* oklch */ color: oklch(53.9% 0.214 322.9);
Tailwind
colors: {
  custom: {
    50: '#c474cb',
    500: '#a52fb4',
    950: '#000000',
  },
}
SCSS
$custom: #a52fb4;
$custom-light: #c474cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a52fb4",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 293.233,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53887,
    "c": 0.21404,
    "h": 322.9
  },
  "luminance": 0.13328
}

Semantic roles & 50–950 ramp

primary
#A52FB4
secondary
#81C778
accent
#E24658
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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