#A52B9E#A52B9E

#A52B9E is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.2% C 0.201 H 330.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A52B9E
RGBrgb(165, 43, 158)
HSLhsl(303, 59%, 41%)
HSVhsv(303, 74%, 65%)
CMYKcmyk(0%, 73.9%, 4.2%, 35.3%)
CIE-LABlab(41.53, 61.58, -35.84)
CIE-LCHlch(41.53, 71.25, 329.80°)
OKLaboklab(52.25% 0.1749 -0.0989)
OKLCHoklch(52.25% 0.201 330.5)
XYZxyz(22.5524, 12.1975, 33.5077)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52B9E #2BA532
analogous
#6F2BA5 #A52B9E #A52B61
triadic
#A52B9E #9EA52B #2B9EA5
tetradic
#A52B9E #A56F2B #2BA532 #2B61A5
square
#A52B9E #A56F2B #2BA532 #2B61A5
split-complementary
#A52B9E #61A52B #2BA56F
monochromatic
#441241 #741E70 #A52B9E #CD40C5 #DA71D4

Accessibility & contrast

On white

6.11
#A52B9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A52B9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52B9E
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52B9E#FFFFFF#000000##FFFFFF
##A52B9E1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E57A1
Deuteranopia (green-blind)
#50689B
Tritanopia (blue-blind)
#AB3B62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a52b9e;
/* rgb */ color: rgb(165, 43, 158);
/* oklch */ color: oklch(52.2% 0.201 330.5);
Tailwind
colors: {
  custom: {
    50: '#c371bb',
    500: '#a52b9e',
    950: '#000000',
  },
}
SCSS
$custom: #a52b9e;
$custom-light: #c371bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a52b9e",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 303.443,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52247,
    "c": 0.20094,
    "h": 330.5
  },
  "luminance": 0.12196
}

Semantic roles & 50–950 ramp

primary
#A52B9E
secondary
#6BC170
accent
#E24F46
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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