#A52FAF#A52FAF

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

Color values

HEX#A52FAF
RGBrgb(165, 47, 175)
HSLhsl(295, 58%, 44%)
HSVhsv(295, 73%, 69%)
CMYKcmyk(5.7%, 73.1%, 0%, 31.4%)
CIE-LABlab(42.96, 63.09, -43.71)
CIE-LCHlch(42.96, 76.75, 325.28°)
OKLaboklab(53.58% 0.1711 -0.1218)
OKLCHoklch(53.58% 0.21 324.6)
XYZxyz(24.2708, 13.1290, 41.8049)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52FAF #39AF2F
analogous
#652FAF #A52FAF #AF2F79
triadic
#A52FAF #AFA52F #2FAFA5
tetradic
#A52FAF #AF652F #39AF2F #2F79AF
square
#A52FAF #AF652F #39AF2F #2F79AF
split-complementary
#A52FAF #79AF2F #2FAF65
monochromatic
#4A154F #78227F #A52FAF #C54CCF #D47CDC

Accessibility & contrast

On white

5.79
#A52FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A52FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52FAF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52FAF#FFFFFF#000000##FFFFFF
##A52FAF1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#486AAC
Tritanopia (blue-blind)
#A8456D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a52faf;
/* rgb */ color: rgb(165, 47, 175);
/* oklch */ color: oklch(53.6% 0.210 324.6);
Tailwind
colors: {
  custom: {
    50: '#c374c7',
    500: '#a52faf',
    950: '#000000',
  },
}
SCSS
$custom: #a52faf;
$custom-light: #c374c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a52faf",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 295.313,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53579,
    "c": 0.20996,
    "h": 324.6
  },
  "luminance": 0.13128
}

Semantic roles & 50–950 ramp

primary
#A52FAF
secondary
#7BC475
accent
#E14753
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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