#A64397#A64397

#A64397 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.5% C 0.165 H 333.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#A64397
RGBrgb(166, 67, 151)
HSLhsl(309, 42%, 46%)
HSVhsv(309, 60%, 65%)
CMYKcmyk(0%, 59.6%, 9%, 34.9%)
CIE-LABlab(44.74, 51.20, -26.58)
CIE-LCHlch(44.74, 57.69, 332.56°)
OKLaboklab(54.5% 0.1479 -0.0724)
OKLCHoklch(54.5% 0.165 333.9)
XYZxyz(23.3190, 14.3574, 30.8152)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64397 #43A652
analogous
#8343A6 #A64397 #A64365
triadic
#A64397 #97A643 #4397A6
tetradic
#A64397 #A68343 #43A652 #4365A6
square
#A64397 #A68343 #43A652 #4365A6
split-complementary
#A64397 #65A643 #43A683
monochromatic
#4F2048 #7A316F #A64397 #C165B3 #D391C9

Accessibility & contrast

On white

5.42
#A64397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#A64397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64397
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64397#FFFFFF#000000##FFFFFF
##A643971.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42619A
Deuteranopia (green-blind)
#606F94
Tritanopia (blue-blind)
#AD4A67
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a64397;
/* rgb */ color: rgb(166, 67, 151);
/* oklch */ color: oklch(54.5% 0.165 333.9);
Tailwind
colors: {
  custom: {
    50: '#c37db6',
    500: '#a64397',
    950: '#000000',
  },
}
SCSS
$custom: #a64397;
$custom-light: #c37db6;
$custom-dark: #000000;
JSON
{
  "hex": "#a64397",
  "rgb": {
    "r": 166,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 309.091,
    "s": 42.489,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54495,
    "c": 0.16464,
    "h": 333.9
  },
  "luminance": 0.14356
}

Semantic roles & 50–950 ramp

primary
#A64397
secondary
#87BE8F
accent
#D26856
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #A64397

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

Preview Lab → · Contrast checker → · Palette generator →

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