#A642AC#A642AC

#A642AC is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.5% C 0.184 H 325.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A642AC
RGBrgb(166, 66, 172)
HSLhsl(297, 45%, 47%)
HSVhsv(297, 62%, 67%)
CMYKcmyk(3.5%, 61.6%, 0%, 32.5%)
CIE-LABlab(45.61, 55.30, -37.71)
CIE-LCHlch(45.61, 66.94, 325.71°)
OKLaboklab(55.47% 0.1514 -0.1044)
OKLCHoklch(55.47% 0.184 325.4)
XYZxyz(25.1199, 14.9835, 40.5907)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A642AC #48AC42
analogous
#7142AC #A642AC #AC427D
triadic
#A642AC #ACA642 #42ACA6
tetradic
#A642AC #AC7142 #48AC42 #427DAC
square
#A642AC #AC7142 #48AC42 #427DAC
split-complementary
#A642AC #7DAC42 #42AC71
monochromatic
#512054 #7B3180 #A642AC #BF67C5 #D293D6

Accessibility & contrast

On white

5.25
#A642AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#A642AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A642AC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A642AC#FFFFFF#000000##FFFFFF
##A642AC1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3164AF
Deuteranopia (green-blind)
#5670A9
Tritanopia (blue-blind)
#AA5171
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a642ac;
/* rgb */ color: rgb(166, 66, 172);
/* oklch */ color: oklch(55.5% 0.184 325.4);
Tailwind
colors: {
  custom: {
    50: '#c37dc5',
    500: '#a642ac',
    950: '#000000',
  },
}
SCSS
$custom: #a642ac;
$custom-light: #c37dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#a642ac",
  "rgb": {
    "r": 166,
    "g": 66,
    "b": 172
  },
  "hsl": {
    "h": 296.604,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55467,
    "c": 0.18395,
    "h": 325.4
  },
  "luminance": 0.14982
}

Semantic roles & 50–950 ramp

primary
#A642AC
secondary
#8CC189
accent
#D4545B
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A642AC

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

Preview Lab → · Contrast checker → · Palette generator →

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