#A51E95#A51E95

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

Color values

HEX#A51E95
RGBrgb(165, 30, 149)
HSLhsl(307, 69%, 38%)
HSVhsv(307, 82%, 65%)
CMYKcmyk(0%, 81.8%, 9.7%, 35.3%)
CIE-LABlab(39.75, 63.92, -33.21)
CIE-LCHlch(39.75, 72.03, 332.54°)
OKLaboklab(50.82% 0.1856 -0.0912)
OKLCHoklch(50.82% 0.207 333.8)
XYZxyz(21.4064, 11.0997, 29.4430)
Luminance0.1110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51E95 #1EA52E
analogous
#711EA5 #A51E95 #A51E51
triadic
#A51E95 #95A51E #1E95A5
tetradic
#A51E95 #A5711E #1EA52E #1E51A5
square
#A51E95 #A5711E #1EA52E #1E51A5
split-complementary
#A51E95 #51A51E #1EA571
monochromatic
#3D0B37 #711566 #A51E95 #D828C3 #E15CD2

Accessibility & contrast

On white

6.52
#A51E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A51E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A51E95
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51E95#FFFFFF#000000##FFFFFF
##A51E951.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185198
Deuteranopia (green-blind)
#506492
Tritanopia (blue-blind)
#AD2E5A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a51e95;
/* rgb */ color: rgb(165, 30, 149);
/* oklch */ color: oklch(50.8% 0.207 333.8);
Tailwind
colors: {
  custom: {
    50: '#c46cb4',
    500: '#a51e95',
    950: '#000000',
  },
}
SCSS
$custom: #a51e95;
$custom-light: #c46cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#a51e95",
  "rgb": {
    "r": 165,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 307.111,
    "s": 69.231,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50816,
    "c": 0.20674,
    "h": 333.8
  },
  "luminance": 0.11098
}

Semantic roles & 50–950 ramp

primary
#A51E95
secondary
#59C566
accent
#EC513C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A51E95

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

Preview Lab → · Contrast checker → · Palette generator →

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