#A52FB1#A52FB1

#A52FB1 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.7% C 0.212 H 323.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#A52FB1
RGBrgb(165, 47, 177)
HSLhsl(294, 58%, 44%)
HSVhsv(294, 73%, 69%)
CMYKcmyk(6.8%, 73.4%, 0%, 30.6%)
CIE-LABlab(43.08, 63.44, -44.71)
CIE-LCHlch(43.08, 77.61, 324.83°)
OKLaboklab(53.7% 0.171 -0.1247)
OKLCHoklch(53.7% 0.212 323.9)
XYZxyz(24.4687, 13.2082, 42.8471)
Luminance0.1321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52FB1 #3BB12F
analogous
#642FB1 #A52FB1 #B12F7C
triadic
#A52FB1 #B1A52F #2FB1A5
tetradic
#A52FB1 #B1642F #3BB12F #2F7CB1
square
#A52FB1 #B1642F #3BB12F #2F7CB1
split-complementary
#A52FB1 #7CB12F #2FB164
monochromatic
#4B1550 #782281 #A52FB1 #C44DD0 #D47EDD

Accessibility & contrast

On white

5.77
#A52FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52FB1
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52FB1#FFFFFF#000000##FFFFFF
##A52FB11.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#476AAE
Tritanopia (blue-blind)
#A8466E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a52fb1;
/* rgb */ color: rgb(165, 47, 177);
/* oklch */ color: oklch(53.7% 0.212 323.9);
Tailwind
colors: {
  custom: {
    50: '#c374c9',
    500: '#a52fb1',
    950: '#000000',
  },
}
SCSS
$custom: #a52fb1;
$custom-light: #c374c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a52fb1",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 294.462,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53701,
    "c": 0.21159,
    "h": 323.9
  },
  "luminance": 0.13207
}

Semantic roles & 50–950 ramp

primary
#A52FB1
secondary
#7EC576
accent
#E14755
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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