#A51E94#A51E94

#A51E94 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.206 H 334.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A51E94
RGBrgb(165, 30, 148)
HSLhsl(308, 69%, 38%)
HSVhsv(308, 82%, 65%)
CMYKcmyk(0%, 81.8%, 10.3%, 35.3%)
CIE-LABlab(39.69, 63.77, -32.69)
CIE-LCHlch(39.69, 71.66, 332.86°)
OKLaboklab(50.76% 0.1855 -0.0897)
OKLCHoklch(50.76% 0.206 334.2)
XYZxyz(21.3269, 11.0679, 29.0244)
Luminance0.1107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51E94 #1EA52F
analogous
#731EA5 #A51E94 #A51E50
triadic
#A51E94 #94A51E #1E94A5
tetradic
#A51E94 #A5731E #1EA52F #1E50A5
square
#A51E94 #A5731E #1EA52F #1E50A5
split-complementary
#A51E94 #50A51E #1EA573
monochromatic
#3D0B37 #711566 #A51E94 #D828C2 #E15CD1

Accessibility & contrast

On white

6.54
#A51E94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A51E94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A51E94
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51E94#FFFFFF#000000##FFFFFF
##A51E941.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5197
Deuteranopia (green-blind)
#516491
Tritanopia (blue-blind)
#AD2D59
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a51e94;
/* rgb */ color: rgb(165, 30, 148);
/* oklch */ color: oklch(50.8% 0.206 334.2);
Tailwind
colors: {
  custom: {
    50: '#c46cb4',
    500: '#a51e94',
    950: '#000000',
  },
}
SCSS
$custom: #a51e94;
$custom-light: #c46cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#a51e94",
  "rgb": {
    "r": 165,
    "g": 30,
    "b": 148
  },
  "hsl": {
    "h": 307.556,
    "s": 69.231,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50761,
    "c": 0.20605,
    "h": 334.2
  },
  "luminance": 0.11066
}

Semantic roles & 50–950 ramp

primary
#A51E94
secondary
#59C567
accent
#EC523C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A51E94

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

Preview Lab → · Contrast checker → · Palette generator →

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