#A52FB3#A52FB3

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

Color values

HEX#A52FB3
RGBrgb(165, 47, 179)
HSLhsl(294, 58%, 44%)
HSVhsv(294, 74%, 70%)
CMYKcmyk(7.8%, 73.7%, 0%, 29.8%)
CIE-LABlab(43.19, 63.79, -45.70)
CIE-LCHlch(43.19, 78.47, 324.38°)
OKLaboklab(53.83% 0.1709 -0.1275)
OKLCHoklch(53.83% 0.213 323.3)
XYZxyz(24.6695, 13.2885, 43.9046)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52FB3 #3DB32F
analogous
#632FB3 #A52FB3 #B32F7F
triadic
#A52FB3 #B3A52F #2FB3A5
tetradic
#A52FB3 #B3632F #3DB32F #2F7FB3
square
#A52FB3 #B3632F #3DB32F #2F7FB3
split-complementary
#A52FB3 #7FB32F #2FB363
monochromatic
#4C1652 #782283 #A52FB3 #C34FD1 #D37FDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A52FB3#FFFFFF#000000##FFFFFF
##A52FB31.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)
#005DB7
Deuteranopia (green-blind)
#456BB0
Tritanopia (blue-blind)
#A8476F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a52fb3;
/* rgb */ color: rgb(165, 47, 179);
/* oklch */ color: oklch(53.8% 0.213 323.3);
Tailwind
colors: {
  custom: {
    50: '#c374ca',
    500: '#a52fb3',
    950: '#000000',
  },
}
SCSS
$custom: #a52fb3;
$custom-light: #c374ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a52fb3",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 293.636,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53825,
    "c": 0.21322,
    "h": 323.3
  },
  "luminance": 0.13287
}

Semantic roles & 50–950 ramp

primary
#A52FB3
secondary
#80C678
accent
#E24657
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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