#A52F9B#A52F9B

#A52F9B is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.4% C 0.194 H 331.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A52F9B
RGBrgb(165, 47, 155)
HSLhsl(305, 56%, 42%)
HSVhsv(305, 72%, 65%)
CMYKcmyk(0%, 71.5%, 6.1%, 35.3%)
CIE-LABlab(41.85, 59.74, -33.53)
CIE-LCHlch(41.85, 68.51, 330.69°)
OKLaboklab(52.42% 0.1709 -0.0922)
OKLCHoklch(52.42% 0.194 331.6)
XYZxyz(22.4500, 12.4007, 32.2152)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F9B #2FA539
analogous
#742FA5 #A52F9B #A52F60
triadic
#A52F9B #9BA52F #2F9BA5
tetradic
#A52F9B #A5742F #2FA539 #2F60A5
square
#A52F9B #A5742F #2FA539 #2F60A5
split-complementary
#A52F9B #60A52F #2FA574
monochromatic
#461442 #75216E #A52F9B #CB47BF #D876D0

Accessibility & contrast

On white

6.03
#A52F9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A52F9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52F9B
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F9B#FFFFFF#000000##FFFFFF
##A52F9B1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27589E
Deuteranopia (green-blind)
#546998
Tritanopia (blue-blind)
#AC3C62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a52f9b;
/* rgb */ color: rgb(165, 47, 155);
/* oklch */ color: oklch(52.4% 0.194 331.6);
Tailwind
colors: {
  custom: {
    50: '#c373b9',
    500: '#a52f9b',
    950: '#000000',
  },
}
SCSS
$custom: #a52f9b;
$custom-light: #c373b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f9b",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 155
  },
  "hsl": {
    "h": 305.085,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52423,
    "c": 0.19419,
    "h": 331.6
  },
  "luminance": 0.12399
}

Semantic roles & 50–950 ramp

primary
#A52F9B
secondary
#70C077
accent
#DF5649
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A52F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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