#A642AE#A642AE

#A642AE is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.6% C 0.186 H 324.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#A642AE
RGBrgb(166, 66, 174)
HSLhsl(296, 45%, 47%)
HSVhsv(296, 62%, 68%)
CMYKcmyk(4.6%, 62.1%, 0%, 31.8%)
CIE-LABlab(45.72, 55.67, -38.73)
CIE-LCHlch(45.72, 67.81, 325.18°)
OKLaboklab(55.58% 0.1515 -0.1074)
OKLCHoklch(55.58% 0.186 324.7)
XYZxyz(25.3135, 15.0609, 41.6099)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A642AE #4AAE42
analogous
#7042AE #A642AE #AE4280
triadic
#A642AE #AEA642 #42AEA6
tetradic
#A642AE #AE7042 #4AAE42 #4280AE
square
#A642AE #AE7042 #4AAE42 #4280AE
split-complementary
#A642AE #80AE42 #42AE70
monochromatic
#512055 #7C3182 #A642AE #BF68C6 #D194D6

Accessibility & contrast

On white

5.23
#A642AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#A642AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A642AE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A642AE#FFFFFF#000000##FFFFFF
##A642AE1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F64B1
Deuteranopia (green-blind)
#5570AB
Tritanopia (blue-blind)
#A95172
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a642ae;
/* rgb */ color: rgb(166, 66, 174);
/* oklch */ color: oklch(55.6% 0.186 324.7);
Tailwind
colors: {
  custom: {
    50: '#c37dc6',
    500: '#a642ae',
    950: '#000000',
  },
}
SCSS
$custom: #a642ae;
$custom-light: #c37dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#a642ae",
  "rgb": {
    "r": 166,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 295.556,
    "s": 45,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55578,
    "c": 0.18572,
    "h": 324.7
  },
  "luminance": 0.15059
}

Semantic roles & 50–950 ramp

primary
#A642AE
secondary
#8EC28A
accent
#D5535D
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A642AE

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

Preview Lab → · Contrast checker → · Palette generator →

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