#A51E93#A51E93

#A51E93 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.205 H 334.6°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A51E93
RGBrgb(165, 30, 147)
HSLhsl(308, 69%, 38%)
HSVhsv(308, 82%, 65%)
CMYKcmyk(0%, 81.8%, 10.9%, 35.3%)
CIE-LABlab(39.64, 63.62, -32.16)
CIE-LCHlch(39.64, 71.29, 333.18°)
OKLaboklab(50.71% 0.1855 -0.0882)
OKLCHoklch(50.71% 0.205 334.6)
XYZxyz(21.2481, 11.0364, 28.6093)
Luminance0.1103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51E93 #1EA530
analogous
#731EA5 #A51E93 #A51E4F
triadic
#A51E93 #93A51E #1E93A5
tetradic
#A51E93 #A5731E #1EA530 #1E4FA5
square
#A51E93 #A5731E #1EA530 #1E4FA5
split-complementary
#A51E93 #4FA51E #1EA573
monochromatic
#3D0B37 #711565 #A51E93 #D828C1 #E15CD0

Accessibility & contrast

On white

6.55
#A51E93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A51E93
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51E93#FFFFFF#000000##FFFFFF
##A51E931.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5196
Deuteranopia (green-blind)
#516490
Tritanopia (blue-blind)
#AD2C59
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a51e93;
/* rgb */ color: rgb(165, 30, 147);
/* oklch */ color: oklch(50.7% 0.205 334.6);
Tailwind
colors: {
  custom: {
    50: '#c46cb3',
    500: '#a51e93',
    950: '#000000',
  },
}
SCSS
$custom: #a51e93;
$custom-light: #c46cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#a51e93",
  "rgb": {
    "r": 165,
    "g": 30,
    "b": 147
  },
  "hsl": {
    "h": 308,
    "s": 69.231,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50706,
    "c": 0.20536,
    "h": 334.6
  },
  "luminance": 0.11034
}

Semantic roles & 50–950 ramp

primary
#A51E93
secondary
#59C568
accent
#EC533C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A51E93

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

Preview Lab → · Contrast checker → · Palette generator →

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