#A52FC1#A52FC1

#A52FC1 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.225 H 319.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#A52FC1
RGBrgb(165, 47, 193)
HSLhsl(288, 61%, 47%)
HSVhsv(288, 76%, 76%)
CMYKcmyk(14.5%, 75.6%, 0%, 24.3%)
CIE-LABlab(44.07, 66.33, -52.51)
CIE-LCHlch(44.07, 84.60, 321.63°)
OKLaboklab(54.72% 0.1697 -0.1475)
OKLCHoklch(54.72% 0.225 319)
XYZxyz(26.1579, 13.8839, 51.7438)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52FC1 #4BC12F
analogous
#5C2FC1 #A52FC1 #C12F94
triadic
#A52FC1 #C1A52F #2FC1A5
tetradic
#A52FC1 #C15C2F #4BC12F #2F94C1
square
#A52FC1 #C15C2F #4BC12F #2F94C1
split-complementary
#A52FC1 #94C12F #2FC15C
monochromatic
#51175F #7B2390 #A52FC1 #BE57D6 #D188E2

Accessibility & contrast

On white

5.56
#A52FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#A52FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52FC1
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52FC1#FFFFFF#000000##FFFFFF
##A52FC11.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#396CBE
Tritanopia (blue-blind)
#A54E77
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a52fc1;
/* rgb */ color: rgb(165, 47, 193);
/* oklch */ color: oklch(54.7% 0.225 319.0);
Tailwind
colors: {
  custom: {
    50: '#c474d4',
    500: '#a52fc1',
    950: '#000000',
  },
}
SCSS
$custom: #a52fc1;
$custom-light: #c474d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a52fc1",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 193
  },
  "hsl": {
    "h": 288.493,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54722,
    "c": 0.22481,
    "h": 319
  },
  "luminance": 0.13883
}

Semantic roles & 50–950 ramp

primary
#A52FC1
secondary
#8FCC80
accent
#E44463
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A52FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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