#A640A9#A640A9

#A640A9 is a mid, vivid purple. Relative luminance 0.146; OKLCH L 55.1% C 0.184 H 326.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#A640A9
RGBrgb(166, 64, 169)
HSLhsl(298, 45%, 46%)
HSVhsv(298, 62%, 66%)
CMYKcmyk(1.8%, 62.1%, 0%, 33.7%)
CIE-LABlab(45.14, 55.64, -36.69)
CIE-LCHlch(45.14, 66.65, 326.60°)
OKLaboklab(55.07% 0.1537 -0.1014)
OKLCHoklch(55.07% 0.184 326.6)
XYZxyz(24.7203, 14.6399, 39.0522)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A640A9 #43A940
analogous
#7140A9 #A640A9 #A94077
triadic
#A640A9 #A9A640 #40A9A6
tetradic
#A640A9 #A97140 #43A940 #4077A9
square
#A640A9 #A97140 #43A940 #4077A9
split-complementary
#A640A9 #77A940 #40A971
monochromatic
#4F1E50 #7A2F7D #A640A9 #C162C4 #D38FD5

Accessibility & contrast

On white

5.35
#A640A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#A640A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A640A9
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A640A9#FFFFFF#000000##FFFFFF
##A640A91.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3162AC
Deuteranopia (green-blind)
#566FA6
Tritanopia (blue-blind)
#AA4E6F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a640a9;
/* rgb */ color: rgb(166, 64, 169);
/* oklch */ color: oklch(55.1% 0.184 326.6);
Tailwind
colors: {
  custom: {
    50: '#c37cc3',
    500: '#a640a9',
    950: '#000000',
  },
}
SCSS
$custom: #a640a9;
$custom-light: #c37cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#a640a9",
  "rgb": {
    "r": 166,
    "g": 64,
    "b": 169
  },
  "hsl": {
    "h": 298.286,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55071,
    "c": 0.18415,
    "h": 326.6
  },
  "luminance": 0.14638
}

Semantic roles & 50–950 ramp

primary
#A640A9
secondary
#87C085
accent
#D55357
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A12
muted
#827C81

Preview Lab

Preview with #A640A9

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

Preview Lab → · Contrast checker → · Palette generator →

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