#A640AE#A640AE

#A640AE is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.4% C 0.189 H 324.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#A640AE
RGBrgb(166, 64, 174)
HSLhsl(296, 46%, 47%)
HSVhsv(296, 63%, 68%)
CMYKcmyk(4.6%, 63.2%, 0%, 31.8%)
CIE-LABlab(45.40, 56.54, -39.23)
CIE-LCHlch(45.40, 68.81, 325.25°)
OKLaboklab(55.35% 0.154 -0.1088)
OKLCHoklch(55.35% 0.189 324.8)
XYZxyz(25.1986, 14.8313, 41.5716)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A640AE #48AE40
analogous
#6F40AE #A640AE #AE407F
triadic
#A640AE #AEA640 #40AEA6
tetradic
#A640AE #AE6F40 #48AE40 #407FAE
square
#A640AE #AE6F40 #48AE40 #407FAE
split-complementary
#A640AE #7FAE40 #40AE6F
monochromatic
#511F55 #7B3081 #A640AE #BF65C6 #D292D7

Accessibility & contrast

On white

5.30
#A640AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A640AE
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A640AE#FFFFFF#000000##FFFFFF
##A640AE1.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C63B1
Deuteranopia (green-blind)
#5470AB
Tritanopia (blue-blind)
#A95071
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a640ae;
/* rgb */ color: rgb(166, 64, 174);
/* oklch */ color: oklch(55.4% 0.189 324.8);
Tailwind
colors: {
  custom: {
    50: '#c37cc6',
    500: '#a640ae',
    950: '#000000',
  },
}
SCSS
$custom: #a640ae;
$custom-light: #c37cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#a640ae",
  "rgb": {
    "r": 166,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 295.636,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5535,
    "c": 0.18852,
    "h": 324.8
  },
  "luminance": 0.1483
}

Semantic roles & 50–950 ramp

primary
#A640AE
secondary
#8CC288
accent
#D6525C
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A640AE

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

Preview Lab → · Contrast checker → · Palette generator →

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