#A52996#A52996

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

Color values

HEX#A52996
RGBrgb(165, 41, 150)
HSLhsl(307, 60%, 40%)
HSVhsv(307, 75%, 65%)
CMYKcmyk(0%, 75.2%, 9.1%, 35.3%)
CIE-LABlab(40.88, 60.97, -32.04)
CIE-LCHlch(40.88, 68.87, 332.28°)
OKLaboklab(51.64% 0.1765 -0.0879)
OKLCHoklch(51.64% 0.197 333.5)
XYZxyz(21.8152, 11.7891, 29.9748)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52996 #29A538
analogous
#7629A5 #A52996 #A52958
triadic
#A52996 #96A529 #2996A5
tetradic
#A52996 #A57629 #29A538 #2958A5
square
#A52996 #A57629 #29A538 #2958A5
split-complementary
#A52996 #58A529 #29A576
monochromatic
#43113D #741D69 #A52996 #CF3DBD #DB6ECE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A52996#FFFFFF#000000##FFFFFF
##A529961.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)
#255599
Deuteranopia (green-blind)
#546793
Tritanopia (blue-blind)
#AD355D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52996;
/* rgb */ color: rgb(165, 41, 150);
/* oklch */ color: oklch(51.6% 0.197 333.5);
Tailwind
colors: {
  custom: {
    50: '#c370b5',
    500: '#a52996',
    950: '#000000',
  },
}
SCSS
$custom: #a52996;
$custom-light: #c370b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a52996",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 150
  },
  "hsl": {
    "h": 307.258,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51643,
    "c": 0.19713,
    "h": 333.5
  },
  "luminance": 0.11787
}

Semantic roles & 50–950 ramp

primary
#A52996
secondary
#68C273
accent
#E35844
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52996

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

Preview Lab → · Contrast checker → · Palette generator →

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