#A646C4#A646C4

#A646C4 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.3% C 0.200 H 317.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A646C4
RGBrgb(166, 70, 196)
HSLhsl(286, 52%, 52%)
HSVhsv(286, 64%, 77%)
CMYKcmyk(15.3%, 64.3%, 0%, 23.1%)
CIE-LABlab(47.59, 58.11, -48.60)
CIE-LCHlch(47.59, 75.76, 320.10°)
OKLaboklab(57.33% 0.1471 -0.1362)
OKLCHoklch(57.33% 0.2 317.2)
XYZxyz(27.8784, 16.4739, 53.9251)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A646C4 #64C446
analogous
#6746C4 #A646C4 #C446A3
triadic
#A646C4 #C4A646 #46C4A6
tetradic
#A646C4 #C46746 #64C446 #46A3C4
square
#A646C4 #C46746 #64C446 #46A3C4
split-complementary
#A646C4 #A3C446 #46C467
monochromatic
#5B236D #82329B #A646C4 #BC74D3 #D3A3E2

Accessibility & contrast

On white

4.89
#A646C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#A646C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A646C4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A646C4#FFFFFF#000000##FFFFFF
##A646C41.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196BC8
Deuteranopia (green-blind)
#4974C1
Tritanopia (blue-blind)
#A55D7F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a646c4;
/* rgb */ color: rgb(166, 70, 196);
/* oklch */ color: oklch(57.3% 0.200 317.2);
Tailwind
colors: {
  custom: {
    50: '#c480d6',
    500: '#a646c4',
    950: '#000000',
  },
}
SCSS
$custom: #a646c4;
$custom-light: #c480d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a646c4",
  "rgb": {
    "r": 166,
    "g": 70,
    "b": 196
  },
  "hsl": {
    "h": 285.714,
    "s": 51.639,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57331,
    "c": 0.20047,
    "h": 317.2
  },
  "luminance": 0.16473
}

Semantic roles & 50–950 ramp

primary
#A646C4
secondary
#A4CE97
accent
#DB4D6F
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A646C4

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

Preview Lab → · Contrast checker → · Palette generator →

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