#A642D3#A642D3

#A642D3 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.8% C 0.220 H 313.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A642D3
RGBrgb(166, 66, 211)
HSLhsl(281, 62%, 54%)
HSVhsv(281, 69%, 83%)
CMYKcmyk(21.3%, 68.7%, 0%, 17.3%)
CIE-LABlab(47.89, 62.88, -56.76)
CIE-LCHlch(47.89, 84.71, 317.93°)
OKLaboklab(57.84% 0.1507 -0.16)
OKLCHoklch(57.84% 0.22 313.3)
XYZxyz(29.4299, 16.7075, 63.2900)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A642D3 #6FD342
analogous
#5E42D3 #A642D3 #D342B8
triadic
#A642D3 #D3A642 #42D3A6
tetradic
#A642D3 #D35E42 #6FD342 #42B8D3
square
#A642D3 #D35E42 #6FD342 #42B8D3
split-complementary
#A642D3 #B8D342 #42D35E
monochromatic
#601D7D #8529AF #A642D3 #BD74DF #D5A5EA

Accessibility & contrast

On white

4.84
#A642D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#A642D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A642D3
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A642D3#FFFFFF#000000##FFFFFF
##A642D31.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#3774D0
Tritanopia (blue-blind)
#A16086
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a642d3;
/* rgb */ color: rgb(166, 66, 211);
/* oklch */ color: oklch(57.8% 0.220 313.3);
Tailwind
colors: {
  custom: {
    50: '#c57ee1',
    500: '#a642d3',
    950: '#000000',
  },
}
SCSS
$custom: #a642d3;
$custom-light: #c57ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#a642d3",
  "rgb": {
    "r": 166,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 281.379,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5784,
    "c": 0.21985,
    "h": 313.3
  },
  "luminance": 0.16707
}

Semantic roles & 50–950 ramp

primary
#A642D3
secondary
#ADD79A
accent
#E54275
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A642D3

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

Preview Lab → · Contrast checker → · Palette generator →

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