#A52B9F#A52B9F

#A52B9F is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.202 H 330.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A52B9F
RGBrgb(165, 43, 159)
HSLhsl(303, 59%, 41%)
HSVhsv(303, 74%, 65%)
CMYKcmyk(0%, 73.9%, 3.6%, 35.3%)
CIE-LABlab(41.58, 61.74, -36.36)
CIE-LCHlch(41.58, 71.65, 329.51°)
OKLaboklab(52.3% 0.175 -0.1003)
OKLCHoklch(52.3% 0.202 330.2)
XYZxyz(22.6388, 12.2321, 33.9628)
Luminance0.1223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52B9F #2BA531
analogous
#6E2BA5 #A52B9F #A52B62
triadic
#A52B9F #9FA52B #2B9FA5
tetradic
#A52B9F #A56E2B #2BA531 #2B62A5
square
#A52B9F #A56E2B #2BA531 #2B62A5
split-complementary
#A52B9F #62A52B #2BA56E
monochromatic
#441241 #741E70 #A52B9F #CD40C6 #DA71D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A52B9F#FFFFFF#000000##FFFFFF
##A52B9F1.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)
#1C58A2
Deuteranopia (green-blind)
#50689C
Tritanopia (blue-blind)
#AB3B63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a52b9f;
/* rgb */ color: rgb(165, 43, 159);
/* oklch */ color: oklch(52.3% 0.202 330.2);
Tailwind
colors: {
  custom: {
    50: '#c371bc',
    500: '#a52b9f',
    950: '#000000',
  },
}
SCSS
$custom: #a52b9f;
$custom-light: #c371bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a52b9f",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 302.951,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52303,
    "c": 0.2017,
    "h": 330.2
  },
  "luminance": 0.1223
}

Semantic roles & 50–950 ramp

primary
#A52B9F
secondary
#6BC16F
accent
#E24E46
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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