#A642C7#A642C7

#A642C7 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.1% C 0.209 H 316.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A642C7
RGBrgb(166, 66, 199)
HSLhsl(285, 54%, 52%)
HSVhsv(285, 67%, 78%)
CMYKcmyk(16.6%, 66.8%, 0%, 22%)
CIE-LABlab(47.14, 60.46, -51.05)
CIE-LCHlch(47.14, 79.13, 319.82°)
OKLaboklab(57.07% 0.1516 -0.1433)
OKLCHoklch(57.07% 0.209 316.6)
XYZxyz(27.9814, 16.1280, 55.6608)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A642C7 #63C742
analogous
#6442C7 #A642C7 #C742A6
triadic
#A642C7 #C7A642 #42C7A6
tetradic
#A642C7 #C76442 #63C742 #42A6C7
square
#A642C7 #C76442 #63C742 #42A6C7
split-complementary
#A642C7 #A6C742 #42C764
monochromatic
#5B216E #822F9D #A642C7 #BC71D5 #D2A0E3

Accessibility & contrast

On white

4.97
#A642C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#A642C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A642C7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A642C7#FFFFFF#000000##FFFFFF
##A642C71.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACB
Deuteranopia (green-blind)
#4373C4
Tritanopia (blue-blind)
#A45B7F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a642c7;
/* rgb */ color: rgb(166, 66, 199);
/* oklch */ color: oklch(57.1% 0.209 316.6);
Tailwind
colors: {
  custom: {
    50: '#c47ed9',
    500: '#a642c7',
    950: '#000000',
  },
}
SCSS
$custom: #a642c7;
$custom-light: #c47ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#a642c7",
  "rgb": {
    "r": 166,
    "g": 66,
    "b": 199
  },
  "hsl": {
    "h": 285.113,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57066,
    "c": 0.20859,
    "h": 316.6
  },
  "luminance": 0.16127
}

Semantic roles & 50–950 ramp

primary
#A642C7
secondary
#A4D095
accent
#DE4A6F
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A15
muted
#827C83

Preview Lab

Preview with #A642C7

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

Preview Lab → · Contrast checker → · Palette generator →

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