#A52F94#A52F94

#A52F94 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.0% C 0.189 H 334.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A52F94
RGBrgb(165, 47, 148)
HSLhsl(309, 56%, 42%)
HSVhsv(309, 72%, 65%)
CMYKcmyk(0%, 71.5%, 10.3%, 35.3%)
CIE-LABlab(41.49, 58.64, -29.87)
CIE-LCHlch(41.49, 65.80, 333.01°)
OKLaboklab(52.05% 0.1704 -0.0817)
OKLCHoklch(52.05% 0.189 334.4)
XYZxyz(21.8791, 12.1723, 29.2084)
Luminance0.1217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F94 #2FA540
analogous
#7B2FA5 #A52F94 #A52F59
triadic
#A52F94 #94A52F #2F94A5
tetradic
#A52F94 #A57B2F #2FA540 #2F59A5
square
#A52F94 #A57B2F #2FA540 #2F59A5
split-complementary
#A52F94 #59A52F #2FA57B
monochromatic
#46143F #752169 #A52F94 #CB47B8 #D876CA

Accessibility & contrast

On white

6.12
#A52F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A52F94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52F94
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F94#FFFFFF#000000##FFFFFF
##A52F941.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5797
Deuteranopia (green-blind)
#576891
Tritanopia (blue-blind)
#AD395E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a52f94;
/* rgb */ color: rgb(165, 47, 148);
/* oklch */ color: oklch(52.0% 0.189 334.4);
Tailwind
colors: {
  custom: {
    50: '#c373b4',
    500: '#a52f94',
    950: '#000000',
  },
}
SCSS
$custom: #a52f94;
$custom-light: #c373b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f94",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 308.644,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5205,
    "c": 0.18894,
    "h": 334.4
  },
  "luminance": 0.1217
}

Semantic roles & 50–950 ramp

primary
#A52F94
secondary
#70C07B
accent
#DF5E49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A52F94

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

Preview Lab → · Contrast checker → · Palette generator →

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