#A64797#A64797

#A64797 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.0% C 0.158 H 334.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A64797
RGBrgb(166, 71, 151)
HSLhsl(309, 40%, 46%)
HSVhsv(309, 57%, 65%)
CMYKcmyk(0%, 57.2%, 9%, 34.9%)
CIE-LABlab(45.43, 49.34, -25.52)
CIE-LCHlch(45.43, 55.54, 332.65°)
OKLaboklab(55% 0.1424 -0.0694)
OKLCHoklch(55% 0.158 334)
XYZxyz(23.5651, 14.8495, 30.8972)
Luminance0.1485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64797 #47A656
analogous
#8647A6 #A64797 #A64768
triadic
#A64797 #97A647 #4797A6
tetradic
#A64797 #A68647 #47A656 #4768A6
square
#A64797 #A68647 #47A656 #4768A6
split-complementary
#A64797 #68A647 #47A686
monochromatic
#502249 #7B3570 #A64797 #C06BB2 #D296C8

Accessibility & contrast

On white

5.29
#A64797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#A64797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64797
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64797#FFFFFF#000000##FFFFFF
##A647971.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46639A
Deuteranopia (green-blind)
#637194
Tritanopia (blue-blind)
#AD4D68
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a64797;
/* rgb */ color: rgb(166, 71, 151);
/* oklch */ color: oklch(55.0% 0.158 334.0);
Tailwind
colors: {
  custom: {
    50: '#c37fb6',
    500: '#a64797',
    950: '#000000',
  },
}
SCSS
$custom: #a64797;
$custom-light: #c37fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a64797",
  "rgb": {
    "r": 166,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 309.474,
    "s": 40.084,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54999,
    "c": 0.15845,
    "h": 334
  },
  "luminance": 0.14848
}

Semantic roles & 50–950 ramp

primary
#A64797
secondary
#8BBE93
accent
#D06B58
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130A11
muted
#827C80

Preview Lab

Preview with #A64797

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

Preview Lab → · Contrast checker → · Palette generator →

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