#A642CD#A642CD

#A642CD is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.4% C 0.214 H 314.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A642CD
RGBrgb(166, 66, 205)
HSLhsl(283, 58%, 53%)
HSVhsv(283, 68%, 80%)
CMYKcmyk(19%, 67.8%, 0%, 19.6%)
CIE-LABlab(47.51, 61.66, -53.92)
CIE-LCHlch(47.51, 81.91, 318.83°)
OKLaboklab(57.45% 0.1512 -0.1517)
OKLCHoklch(57.45% 0.214 314.9)
XYZxyz(28.6917, 16.4122, 59.4023)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A642CD #69CD42
analogous
#6042CD #A642CD #CD42AF
triadic
#A642CD #CDA642 #42CDA6
tetradic
#A642CD #CD6042 #69CD42 #42AFCD
square
#A642CD #CD6042 #69CD42 #42AFCD
split-complementary
#A642CD #AFCD42 #42CD60
monochromatic
#5D1F76 #842CA6 #A642CD #BD72DA #D4A3E7

Accessibility & contrast

On white

4.90
#A642CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#A642CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A642CD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A642CD#FFFFFF#000000##FFFFFF
##A642CD1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#3E73CA
Tritanopia (blue-blind)
#A35E82
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a642cd;
/* rgb */ color: rgb(166, 66, 205);
/* oklch */ color: oklch(57.4% 0.214 314.9);
Tailwind
colors: {
  custom: {
    50: '#c47edd',
    500: '#a642cd',
    950: '#000000',
  },
}
SCSS
$custom: #a642cd;
$custom-light: #c47edd;
$custom-dark: #000000;
JSON
{
  "hex": "#a642cd",
  "rgb": {
    "r": 166,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 283.165,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57449,
    "c": 0.21421,
    "h": 314.9
  },
  "luminance": 0.16411
}

Semantic roles & 50–950 ramp

primary
#A642CD
secondary
#A8D397
accent
#E14672
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A642CD

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

Preview Lab → · Contrast checker → · Palette generator →

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