#A51D94#A51D94

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

Color values

HEX#A51D94
RGBrgb(165, 29, 148)
HSLhsl(308, 70%, 38%)
HSVhsv(308, 82%, 65%)
CMYKcmyk(0%, 82.4%, 10.3%, 35.3%)
CIE-LABlab(39.61, 64.01, -32.82)
CIE-LCHlch(39.61, 71.94, 332.85°)
OKLaboklab(50.7% 0.1862 -0.09)
OKLCHoklch(50.7% 0.207 334.2)
XYZxyz(21.3020, 11.0181, 29.0160)
Luminance0.1102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51D94 #1DA52E
analogous
#721DA5 #A51D94 #A51D50
triadic
#A51D94 #94A51D #1D94A5
tetradic
#A51D94 #A5721D #1DA52E #1D50A5
square
#A51D94 #A5721D #1DA52E #1D50A5
split-complementary
#A51D94 #50A51D #1DA572
monochromatic
#3D0B37 #711465 #A51D94 #D926C3 #E25AD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A51D94#FFFFFF#000000##FFFFFF
##A51D941.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)
#195197
Deuteranopia (green-blind)
#516491
Tritanopia (blue-blind)
#AD2C59
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a51d94;
/* rgb */ color: rgb(165, 29, 148);
/* oklch */ color: oklch(50.7% 0.207 334.2);
Tailwind
colors: {
  custom: {
    50: '#c46cb4',
    500: '#a51d94',
    950: '#000000',
  },
}
SCSS
$custom: #a51d94;
$custom-light: #c46cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#a51d94",
  "rgb": {
    "r": 165,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 307.5,
    "s": 70.103,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50701,
    "c": 0.20685,
    "h": 334.2
  },
  "luminance": 0.11016
}

Semantic roles & 50–950 ramp

primary
#A51D94
secondary
#58C666
accent
#ED513B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A51D94

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

Preview Lab → · Contrast checker → · Palette generator →

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