#A52892#A52892

#A52892 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.195 H 335.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A52892
RGBrgb(165, 40, 146)
HSLhsl(309, 61%, 40%)
HSVhsv(309, 76%, 65%)
CMYKcmyk(0%, 75.8%, 11.5%, 35.3%)
CIE-LABlab(40.56, 60.67, -30.11)
CIE-LCHlch(40.56, 67.73, 333.61°)
OKLaboklab(51.35% 0.1771 -0.0823)
OKLCHoklch(51.35% 0.195 335.1)
XYZxyz(21.4644, 11.5942, 28.2960)
Luminance0.1159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52892 #28A53B
analogous
#7928A5 #A52892 #A52853
triadic
#A52892 #92A528 #2892A5
tetradic
#A52892 #A57928 #28A53B #2853A5
square
#A52892 #A57928 #28A53B #2853A5
split-complementary
#A52892 #53A528 #28A579
monochromatic
#42103B #741C66 #A52892 #CF3BB9 #DB6CCA

Accessibility & contrast

On white

6.33
#A52892 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A52892 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52892
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52892#FFFFFF#000000##FFFFFF
##A528921.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275495
Deuteranopia (green-blind)
#55668F
Tritanopia (blue-blind)
#AD335B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52892;
/* rgb */ color: rgb(165, 40, 146);
/* oklch */ color: oklch(51.3% 0.195 335.1);
Tailwind
colors: {
  custom: {
    50: '#c370b2',
    500: '#a52892',
    950: '#000000',
  },
}
SCSS
$custom: #a52892;
$custom-light: #c370b2;
$custom-dark: #000000;
JSON
{
  "hex": "#a52892",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 146
  },
  "hsl": {
    "h": 309.12,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5135,
    "c": 0.19532,
    "h": 335.1
  },
  "luminance": 0.11592
}

Semantic roles & 50–950 ramp

primary
#A52892
secondary
#67C275
accent
#E45C44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52892

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

Preview Lab → · Contrast checker → · Palette generator →

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