#A51E99#A51E99

#A51E99 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.210 H 332.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A51E99
RGBrgb(165, 30, 153)
HSLhsl(305, 69%, 38%)
HSVhsv(305, 82%, 65%)
CMYKcmyk(0%, 81.8%, 7.3%, 35.3%)
CIE-LABlab(39.96, 64.51, -35.30)
CIE-LCHlch(39.96, 73.54, 331.31°)
OKLaboklab(51.04% 0.1856 -0.0972)
OKLCHoklch(51.04% 0.21 332.4)
XYZxyz(21.7312, 11.2297, 31.1538)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51E99 #1EA52A
analogous
#6D1EA5 #A51E99 #A51E56
triadic
#A51E99 #99A51E #1E99A5
tetradic
#A51E99 #A56D1E #1EA52A #1E56A5
square
#A51E99 #A56D1E #1EA52A #1E56A5
split-complementary
#A51E99 #56A51E #1EA56D
monochromatic
#3D0B39 #711569 #A51E99 #D828C8 #E15CD6

Accessibility & contrast

On white

6.47
#A51E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A51E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A51E99
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51E99#FFFFFF#000000##FFFFFF
##A51E991.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11529C
Deuteranopia (green-blind)
#4E6596
Tritanopia (blue-blind)
#AC305C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a51e99;
/* rgb */ color: rgb(165, 30, 153);
/* oklch */ color: oklch(51.0% 0.210 332.4);
Tailwind
colors: {
  custom: {
    50: '#c46cb7',
    500: '#a51e99',
    950: '#000000',
  },
}
SCSS
$custom: #a51e99;
$custom-light: #c46cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a51e99",
  "rgb": {
    "r": 165,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 305.333,
    "s": 69.231,
    "l": 38.235
  },
  "oklch": {
    "l": 0.51041,
    "c": 0.20953,
    "h": 332.4
  },
  "luminance": 0.11228
}

Semantic roles & 50–950 ramp

primary
#A51E99
secondary
#59C563
accent
#EC4B3C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A51E99

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

Preview Lab → · Contrast checker → · Palette generator →

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