#A642C5#A642C5

#A642C5 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 56.9% C 0.207 H 317.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A642C5
RGBrgb(166, 66, 197)
HSLhsl(286, 53%, 52%)
HSVhsv(286, 66%, 77%)
CMYKcmyk(15.7%, 66.5%, 0%, 22.7%)
CIE-LABlab(47.02, 60.06, -50.09)
CIE-LCHlch(47.02, 78.20, 320.17°)
OKLaboklab(56.94% 0.1517 -0.1405)
OKLCHoklch(56.94% 0.207 317.2)
XYZxyz(27.7507, 16.0358, 54.4459)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A642C5 #61C542
analogous
#6542C5 #A642C5 #C542A2
triadic
#A642C5 #C5A642 #42C5A6
tetradic
#A642C5 #C56542 #61C542 #42A2C5
square
#A642C5 #C56542 #61C542 #42A2C5
split-complementary
#A642C5 #A2C542 #42C565
monochromatic
#5A216C #812F9A #A642C5 #BC71D3 #D2A0E2

Accessibility & contrast

On white

4.99
#A642C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#A642C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A642C5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A642C5#FFFFFF#000000##FFFFFF
##A642C51.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0369C9
Deuteranopia (green-blind)
#4573C2
Tritanopia (blue-blind)
#A55A7E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a642c5;
/* rgb */ color: rgb(166, 66, 197);
/* oklch */ color: oklch(56.9% 0.207 317.2);
Tailwind
colors: {
  custom: {
    50: '#c47ed7',
    500: '#a642c5',
    950: '#000000',
  },
}
SCSS
$custom: #a642c5;
$custom-light: #c47ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#a642c5",
  "rgb": {
    "r": 166,
    "g": 66,
    "b": 197
  },
  "hsl": {
    "h": 285.802,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56941,
    "c": 0.20673,
    "h": 317.2
  },
  "luminance": 0.16035
}

Semantic roles & 50–950 ramp

primary
#A642C5
secondary
#A2CE95
accent
#DC4B6E
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A642C5

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

Preview Lab → · Contrast checker → · Palette generator →

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