#A52895#A52895

#A52895 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.5% C 0.197 H 333.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A52895
RGBrgb(165, 40, 149)
HSLhsl(308, 61%, 40%)
HSVhsv(308, 76%, 65%)
CMYKcmyk(0%, 75.8%, 9.7%, 35.3%)
CIE-LABlab(40.72, 61.13, -31.69)
CIE-LCHlch(40.72, 68.85, 332.60°)
OKLaboklab(51.51% 0.1773 -0.0868)
OKLCHoklch(51.51% 0.197 333.9)
XYZxyz(21.7009, 11.6887, 29.5412)
Luminance0.1169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52895 #28A538
analogous
#7628A5 #A52895 #A52856
triadic
#A52895 #95A528 #2895A5
tetradic
#A52895 #A57628 #28A538 #2856A5
square
#A52895 #A57628 #28A538 #2856A5
split-complementary
#A52895 #56A528 #28A576
monochromatic
#42103C #741C69 #A52895 #CF3BBC #DB6CCD

Accessibility & contrast

On white

6.29
#A52895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A52895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52895
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52895#FFFFFF#000000##FFFFFF
##A528951.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245498
Deuteranopia (green-blind)
#546692
Tritanopia (blue-blind)
#AD345C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52895;
/* rgb */ color: rgb(165, 40, 149);
/* oklch */ color: oklch(51.5% 0.197 333.9);
Tailwind
colors: {
  custom: {
    50: '#c370b4',
    500: '#a52895',
    950: '#000000',
  },
}
SCSS
$custom: #a52895;
$custom-light: #c370b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a52895",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 307.68,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5151,
    "c": 0.19746,
    "h": 333.9
  },
  "luminance": 0.11687
}

Semantic roles & 50–950 ramp

primary
#A52895
secondary
#67C273
accent
#E45844
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52895

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

Preview Lab → · Contrast checker → · Palette generator →

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