#A52CA7#A52CA7

#A52CA7 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.8% C 0.207 H 327.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A52CA7
RGBrgb(165, 44, 167)
HSLhsl(299, 58%, 41%)
HSVhsv(299, 74%, 65%)
CMYKcmyk(1.2%, 73.7%, 0%, 34.5%)
CIE-LABlab(42.14, 62.73, -40.26)
CIE-LCHlch(42.14, 74.53, 327.31°)
OKLaboklab(52.85% 0.1741 -0.1117)
OKLCHoklch(52.85% 0.207 327.3)
XYZxyz(23.3924, 12.5924, 37.7502)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52CA7 #2EA72C
analogous
#682CA7 #A52CA7 #A72C6C
triadic
#A52CA7 #A7A52C #2CA7A5
tetradic
#A52CA7 #A7682C #2EA72C #2C6CA7
square
#A52CA7 #A7682C #2EA72C #2C6CA7
split-complementary
#A52CA7 #6CA72C #2CA768
monochromatic
#451246 #751F77 #A52CA7 #CB43CD #D873DA

Accessibility & contrast

On white

5.97
#A52CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A52CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52CA7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52CA7#FFFFFF#000000##FFFFFF
##A52CA71.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5AAA
Deuteranopia (green-blind)
#4C69A4
Tritanopia (blue-blind)
#AA4067
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a52ca7;
/* rgb */ color: rgb(165, 44, 167);
/* oklch */ color: oklch(52.8% 0.207 327.3);
Tailwind
colors: {
  custom: {
    50: '#c372c2',
    500: '#a52ca7',
    950: '#000000',
  },
}
SCSS
$custom: #a52ca7;
$custom-light: #c372c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ca7",
  "rgb": {
    "r": 165,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 299.024,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52848,
    "c": 0.20681,
    "h": 327.3
  },
  "luminance": 0.12591
}

Semantic roles & 50–950 ramp

primary
#A52CA7
secondary
#6FC26D
accent
#E24649
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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