#A51EA9#A51EA9

#A51EA9 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 52.0% C 0.221 H 326.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A51EA9
RGBrgb(165, 30, 169)
HSLhsl(298, 70%, 39%)
HSVhsv(298, 82%, 66%)
CMYKcmyk(2.4%, 82.2%, 0%, 33.7%)
CIE-LABlab(40.89, 67.02, -43.45)
CIE-LCHlch(40.89, 79.87, 327.04°)
OKLaboklab(51.99% 0.1851 -0.1209)
OKLCHoklch(51.99% 0.221 326.9)
XYZxyz(23.1424, 11.7941, 38.5860)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51EA9 #22A91E
analogous
#601EA9 #A51EA9 #A91E68
triadic
#A51EA9 #A9A51E #1EA9A5
tetradic
#A51EA9 #A9601E #22A91E #1E68A9
square
#A51EA9 #A9601E #22A91E #1E68A9
split-complementary
#A51EA9 #68A91E #1EA960
monochromatic
#400C41 #721575 #A51EA9 #D42BD9 #DF5FE3

Accessibility & contrast

On white

6.25
#A51EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A51EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A51EA9
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51EA9#FFFFFF#000000##FFFFFF
##A51EA91.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#4566A6
Tritanopia (blue-blind)
#AA3965
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a51ea9;
/* rgb */ color: rgb(165, 30, 169);
/* oklch */ color: oklch(52.0% 0.221 326.9);
Tailwind
colors: {
  custom: {
    50: '#c46dc3',
    500: '#a51ea9',
    950: '#000000',
  },
}
SCSS
$custom: #a51ea9;
$custom-light: #c46dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#a51ea9",
  "rgb": {
    "r": 165,
    "g": 30,
    "b": 169
  },
  "hsl": {
    "h": 298.273,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51993,
    "c": 0.22108,
    "h": 326.9
  },
  "luminance": 0.11792
}

Semantic roles & 50–950 ramp

primary
#A51EA9
secondary
#5FC75C
accent
#ED3B40
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A51EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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