#A51D97#A51D97

#A51D97 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.209 H 333.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A51D97
RGBrgb(165, 29, 151)
HSLhsl(306, 70%, 38%)
HSVhsv(306, 82%, 65%)
CMYKcmyk(0%, 82.4%, 8.5%, 35.3%)
CIE-LABlab(39.77, 64.45, -34.39)
CIE-LCHlch(39.77, 73.06, 331.92°)
OKLaboklab(50.87% 0.1863 -0.0946)
OKLCHoklch(50.87% 0.209 333.1)
XYZxyz(21.5425, 11.1143, 30.2829)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51D97 #1DA52B
analogous
#6F1DA5 #A51D97 #A51D53
triadic
#A51D97 #97A51D #1D97A5
tetradic
#A51D97 #A56F1D #1DA52B #1D53A5
square
#A51D97 #A56F1D #1DA52B #1D53A5
split-complementary
#A51D97 #53A51D #1DA56F
monochromatic
#3D0B38 #711467 #A51D97 #D926C7 #E25AD4

Accessibility & contrast

On white

6.52
#A51D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A51D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A51D97
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51D97#FFFFFF#000000##FFFFFF
##A51D971.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14529A
Deuteranopia (green-blind)
#4F6494
Tritanopia (blue-blind)
#AD2E5B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a51d97;
/* rgb */ color: rgb(165, 29, 151);
/* oklch */ color: oklch(50.9% 0.209 333.1);
Tailwind
colors: {
  custom: {
    50: '#c46cb6',
    500: '#a51d97',
    950: '#000000',
  },
}
SCSS
$custom: #a51d97;
$custom-light: #c46cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a51d97",
  "rgb": {
    "r": 165,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 306.176,
    "s": 70.103,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50869,
    "c": 0.20893,
    "h": 333.1
  },
  "luminance": 0.11112
}

Semantic roles & 50–950 ramp

primary
#A51D97
secondary
#58C663
accent
#ED4D3B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A51D97

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

Preview Lab → · Contrast checker → · Palette generator →

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