#A646C2#A646C2

#A646C2 is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.2% C 0.199 H 317.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A646C2
RGBrgb(166, 70, 194)
HSLhsl(286, 50%, 52%)
HSVhsv(286, 64%, 76%)
CMYKcmyk(14.4%, 63.9%, 0%, 23.9%)
CIE-LABlab(47.47, 57.72, -47.63)
CIE-LCHlch(47.47, 74.83, 320.47°)
OKLaboklab(57.21% 0.1472 -0.1333)
OKLCHoklch(57.21% 0.199 317.8)
XYZxyz(27.6523, 16.3835, 52.7342)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A646C2 #62C246
analogous
#6846C2 #A646C2 #C246A0
triadic
#A646C2 #C2A646 #46C2A6
tetradic
#A646C2 #C26846 #62C246 #46A0C2
square
#A646C2 #C26846 #62C246 #46A0C2
split-complementary
#A646C2 #A0C246 #46C268
monochromatic
#5A236A #813299 #A646C2 #BC74D1 #D2A2E0

Accessibility & contrast

On white

4.91
#A646C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A646C2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A646C2#FFFFFF#000000##FFFFFF
##A646C21.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6AC6
Deuteranopia (green-blind)
#4B74BF
Tritanopia (blue-blind)
#A55C7E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a646c2;
/* rgb */ color: rgb(166, 70, 194);
/* oklch */ color: oklch(57.2% 0.199 317.8);
Tailwind
colors: {
  custom: {
    50: '#c480d5',
    500: '#a646c2',
    950: '#000000',
  },
}
SCSS
$custom: #a646c2;
$custom-light: #c480d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a646c2",
  "rgb": {
    "r": 166,
    "g": 70,
    "b": 194
  },
  "hsl": {
    "h": 286.452,
    "s": 50.407,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5721,
    "c": 0.19858,
    "h": 317.8
  },
  "luminance": 0.16382
}

Semantic roles & 50–950 ramp

primary
#A646C2
secondary
#A3CD97
accent
#DA4E6E
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A646C2

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

Preview Lab → · Contrast checker → · Palette generator →

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