#A51A90#A51A90

#A51A90 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.206 H 335.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A51A90
RGBrgb(165, 26, 144)
HSLhsl(309, 73%, 37%)
HSVhsv(309, 84%, 65%)
CMYKcmyk(0%, 84.2%, 12.7%, 35.3%)
CIE-LABlab(39.16, 64.12, -31.09)
CIE-LCHlch(39.16, 71.26, 334.13°)
OKLaboklab(50.31% 0.1881 -0.085)
OKLCHoklch(50.31% 0.206 335.7)
XYZxyz(20.9208, 10.7537, 27.3540)
Luminance0.1075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51A90 #1AA52F
analogous
#751AA5 #A51A90 #A51A4A
triadic
#A51A90 #90A51A #1A90A5
tetradic
#A51A90 #A5751A #1AA52F #1A4AA5
square
#A51A90 #A5751A #1AA52F #1A4AA5
split-complementary
#A51A90 #4AA51A #1AA575
monochromatic
#3B0934 #701262 #A51A90 #DA22BE #E455CF

Accessibility & contrast

On white

6.67
#A51A90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A51A90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A51A90
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51A90#FFFFFF#000000##FFFFFF
##A51A901.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4F93
Deuteranopia (green-blind)
#52638D
Tritanopia (blue-blind)
#AE2856
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a51a90;
/* rgb */ color: rgb(165, 26, 144);
/* oklch */ color: oklch(50.3% 0.206 335.7);
Tailwind
colors: {
  custom: {
    50: '#c46bb1',
    500: '#a51a90',
    950: '#000000',
  },
}
SCSS
$custom: #a51a90;
$custom-light: #c46bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#a51a90",
  "rgb": {
    "r": 165,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 309.065,
    "s": 72.775,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50313,
    "c": 0.20644,
    "h": 335.7
  },
  "luminance": 0.10752
}

Semantic roles & 50–950 ramp

primary
#A51A90
secondary
#54C765
accent
#EF5438
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130810
muted
#827A7F

Preview Lab

Preview with #A51A90

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

Preview Lab → · Contrast checker → · Palette generator →

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