#A51694#A51694

#A51694 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.212 H 334.2°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#A51694
RGBrgb(165, 22, 148)
HSLhsl(307, 76%, 37%)
HSVhsv(307, 87%, 65%)
CMYKcmyk(0%, 86.7%, 10.3%, 35.3%)
CIE-LABlab(39.09, 65.52, -33.64)
CIE-LCHlch(39.09, 73.65, 332.82°)
OKLaboklab(50.33% 0.1907 -0.0924)
OKLCHoklch(50.33% 0.212 334.2)
XYZxyz(21.1495, 10.7132, 28.9652)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51694 #16A527
analogous
#6F16A5 #A51694 #A5164D
triadic
#A51694 #94A516 #1694A5
tetradic
#A51694 #A56F16 #16A527 #164DA5
square
#A51694 #A56F16 #16A527 #164DA5
split-complementary
#A51694 #4DA516 #16A56F
monochromatic
#390833 #6F0F64 #A51694 #DB1DC4 #E74ED5

Accessibility & contrast

On white

6.68
#A51694 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A51694 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A51694
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51694#FFFFFF#000000##FFFFFF
##A516941.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104F97
Deuteranopia (green-blind)
#4F6391
Tritanopia (blue-blind)
#AD2858
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a51694;
/* rgb */ color: rgb(165, 22, 148);
/* oklch */ color: oklch(50.3% 0.212 334.2);
Tailwind
colors: {
  custom: {
    50: '#c46ab4',
    500: '#a51694',
    950: '#000000',
  },
}
SCSS
$custom: #a51694;
$custom-light: #c46ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#a51694",
  "rgb": {
    "r": 165,
    "g": 22,
    "b": 148
  },
  "hsl": {
    "h": 307.133,
    "s": 76.471,
    "l": 36.667
  },
  "oklch": {
    "l": 0.50332,
    "c": 0.21186,
    "h": 334.2
  },
  "luminance": 0.10711
}

Semantic roles & 50–950 ramp

primary
#A51694
secondary
#4EC95C
accent
#F34B35
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #A51694

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

Preview Lab → · Contrast checker → · Palette generator →

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