#A52D9B#A52D9B

#A52D9B is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.2% C 0.196 H 331.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A52D9B
RGBrgb(165, 45, 155)
HSLhsl(305, 57%, 41%)
HSVhsv(305, 73%, 65%)
CMYKcmyk(0%, 72.7%, 6.1%, 35.3%)
CIE-LABlab(41.60, 60.43, -33.92)
CIE-LCHlch(41.60, 69.30, 330.69°)
OKLaboklab(52.25% 0.1729 -0.0933)
OKLCHoklch(52.25% 0.196 331.6)
XYZxyz(22.3718, 12.2445, 32.1891)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52D9B #2DA537
analogous
#732DA5 #A52D9B #A52D5F
triadic
#A52D9B #9BA52D #2D9BA5
tetradic
#A52D9B #A5732D #2DA537 #2D5FA5
square
#A52D9B #A5732D #2DA537 #2D5FA5
split-complementary
#A52D9B #5FA52D #2DA573
monochromatic
#451341 #75206E #A52D9B #CC43C0 #D973D0

Accessibility & contrast

On white

6.09
#A52D9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A52D9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52D9B
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52D9B#FFFFFF#000000##FFFFFF
##A52D9B1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24579E
Deuteranopia (green-blind)
#536898
Tritanopia (blue-blind)
#AC3B61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a52d9b;
/* rgb */ color: rgb(165, 45, 155);
/* oklch */ color: oklch(52.2% 0.196 331.6);
Tailwind
colors: {
  custom: {
    50: '#c372b9',
    500: '#a52d9b',
    950: '#000000',
  },
}
SCSS
$custom: #a52d9b;
$custom-light: #c372b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a52d9b",
  "rgb": {
    "r": 165,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 305,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52248,
    "c": 0.19648,
    "h": 331.6
  },
  "luminance": 0.12243
}

Semantic roles & 50–950 ramp

primary
#A52D9B
secondary
#6DC174
accent
#E05447
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A52D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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