#A64997#A64997

#A64997 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.3% C 0.155 H 334.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A64997
RGBrgb(166, 73, 151)
HSLhsl(310, 39%, 47%)
HSVhsv(310, 56%, 65%)
CMYKcmyk(0%, 56%, 9%, 34.9%)
CIE-LABlab(45.78, 48.38, -24.97)
CIE-LCHlch(45.78, 54.44, 332.70°)
OKLaboklab(55.26% 0.1397 -0.0679)
OKLCHoklch(55.26% 0.155 334.1)
XYZxyz(23.6944, 15.1081, 30.9403)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64997 #49A658
analogous
#8749A6 #A64997 #A64969
triadic
#A64997 #97A649 #4997A6
tetradic
#A64997 #A68749 #49A658 #4969A6
square
#A64997 #A68749 #49A658 #4969A6
split-complementary
#A64997 #69A649 #49A687
monochromatic
#51244A #7B3670 #A64997 #BF6DB2 #D298C8

Accessibility & contrast

On white

5.22
#A64997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#A64997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64997
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64997#FFFFFF#000000##FFFFFF
##A649971.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48649A
Deuteranopia (green-blind)
#647194
Tritanopia (blue-blind)
#AD4F69
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a64997;
/* rgb */ color: rgb(166, 73, 151);
/* oklch */ color: oklch(55.3% 0.155 334.1);
Tailwind
colors: {
  custom: {
    50: '#c380b6',
    500: '#a64997',
    950: '#000000',
  },
}
SCSS
$custom: #a64997;
$custom-light: #c380b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a64997",
  "rgb": {
    "r": 166,
    "g": 73,
    "b": 151
  },
  "hsl": {
    "h": 309.677,
    "s": 38.912,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5526,
    "c": 0.15527,
    "h": 334.1
  },
  "luminance": 0.15106
}

Semantic roles & 50–950 ramp

primary
#A64997
secondary
#8DBE95
accent
#CF6C59
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #A64997

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

Preview Lab → · Contrast checker → · Palette generator →

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