#A51E96#A51E96

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

Color values

HEX#A51E96
RGBrgb(165, 30, 150)
HSLhsl(307, 69%, 38%)
HSVhsv(307, 82%, 65%)
CMYKcmyk(0%, 81.8%, 9.1%, 35.3%)
CIE-LABlab(39.80, 64.06, -33.74)
CIE-LCHlch(39.80, 72.40, 332.23°)
OKLaboklab(50.87% 0.1856 -0.0927)
OKLCHoklch(50.87% 0.207 333.5)
XYZxyz(21.4865, 11.1318, 29.8653)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51E96 #1EA52D
analogous
#701EA5 #A51E96 #A51E52
triadic
#A51E96 #96A51E #1E96A5
tetradic
#A51E96 #A5701E #1EA52D #1E52A5
square
#A51E96 #A5701E #1EA52D #1E52A5
split-complementary
#A51E96 #52A51E #1EA570
monochromatic
#3D0B38 #711567 #A51E96 #D828C4 #E15CD3

Accessibility & contrast

On white

6.51
#A51E96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A51E96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A51E96
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51E96#FFFFFF#000000##FFFFFF
##A51E961.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175299
Deuteranopia (green-blind)
#506493
Tritanopia (blue-blind)
#AD2E5B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a51e96;
/* rgb */ color: rgb(165, 30, 150);
/* oklch */ color: oklch(50.9% 0.207 333.5);
Tailwind
colors: {
  custom: {
    50: '#c46cb5',
    500: '#a51e96',
    950: '#000000',
  },
}
SCSS
$custom: #a51e96;
$custom-light: #c46cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#a51e96",
  "rgb": {
    "r": 165,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 306.667,
    "s": 69.231,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50872,
    "c": 0.20743,
    "h": 333.5
  },
  "luminance": 0.1113
}

Semantic roles & 50–950 ramp

primary
#A51E96
secondary
#59C565
accent
#EC4F3C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A51E96

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

Preview Lab → · Contrast checker → · Palette generator →

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