#A52A94#A52A94

#A52A94 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.6% C 0.195 H 334.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A52A94
RGBrgb(165, 42, 148)
HSLhsl(308, 59%, 41%)
HSVhsv(308, 75%, 65%)
CMYKcmyk(0%, 74.5%, 10.3%, 35.3%)
CIE-LABlab(40.89, 60.34, -30.81)
CIE-LCHlch(40.89, 67.75, 332.95°)
OKLaboklab(51.62% 0.1754 -0.0843)
OKLCHoklch(51.62% 0.195 334.3)
XYZxyz(21.6905, 11.7953, 29.1456)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52A94 #2AA53B
analogous
#782AA5 #A52A94 #A52A56
triadic
#A52A94 #94A52A #2A94A5
tetradic
#A52A94 #A5782A #2AA53B #2A56A5
square
#A52A94 #A5782A #2AA53B #2A56A5
split-complementary
#A52A94 #56A52A #2AA578
monochromatic
#43113C #741E68 #A52A94 #CE3EBA #DA6FCC

Accessibility & contrast

On white

6.25
#A52A94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A52A94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52A94
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52A94#FFFFFF#000000##FFFFFF
##A52A941.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285597
Deuteranopia (green-blind)
#556791
Tritanopia (blue-blind)
#AD355C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52a94;
/* rgb */ color: rgb(165, 42, 148);
/* oklch */ color: oklch(51.6% 0.195 334.3);
Tailwind
colors: {
  custom: {
    50: '#c370b4',
    500: '#a52a94',
    950: '#000000',
  },
}
SCSS
$custom: #a52a94;
$custom-light: #c370b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a52a94",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 308.293,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51617,
    "c": 0.19462,
    "h": 334.3
  },
  "luminance": 0.11793
}

Semantic roles & 50–950 ramp

primary
#A52A94
secondary
#69C176
accent
#E35B45
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52A94

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

Preview Lab → · Contrast checker → · Palette generator →

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