#A51E92#A51E92

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

Color values

HEX#A51E92
RGBrgb(165, 30, 146)
HSLhsl(308, 69%, 38%)
HSVhsv(308, 82%, 65%)
CMYKcmyk(0%, 81.8%, 11.5%, 35.3%)
CIE-LABlab(39.59, 63.48, -31.64)
CIE-LCHlch(39.59, 70.92, 333.51°)
OKLaboklab(50.65% 0.1854 -0.0866)
OKLCHoklch(50.65% 0.205 335)
XYZxyz(21.1699, 11.0052, 28.1978)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51E92 #1EA531
analogous
#741EA5 #A51E92 #A51E4F
triadic
#A51E92 #92A51E #1E92A5
tetradic
#A51E92 #A5741E #1EA531 #1E4FA5
square
#A51E92 #A5741E #1EA531 #1E4FA5
split-complementary
#A51E92 #4FA51E #1EA574
monochromatic
#3D0B36 #711564 #A51E92 #D828BF #E15CCF

Accessibility & contrast

On white

6.56
#A51E92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A51E92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A51E92
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51E92#FFFFFF#000000##FFFFFF
##A51E921.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5195
Deuteranopia (green-blind)
#52648F
Tritanopia (blue-blind)
#AD2C58
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a51e92;
/* rgb */ color: rgb(165, 30, 146);
/* oklch */ color: oklch(50.7% 0.205 335.0);
Tailwind
colors: {
  custom: {
    50: '#c46cb2',
    500: '#a51e92',
    950: '#000000',
  },
}
SCSS
$custom: #a51e92;
$custom-light: #c46cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#a51e92",
  "rgb": {
    "r": 165,
    "g": 30,
    "b": 146
  },
  "hsl": {
    "h": 308.444,
    "s": 69.231,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50652,
    "c": 0.20467,
    "h": 335
  },
  "luminance": 0.11003
}

Semantic roles & 50–950 ramp

primary
#A51E92
secondary
#59C569
accent
#EC553C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A51E92

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

Preview Lab → · Contrast checker → · Palette generator →

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