#A646D2#A646D2

#A646D2 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.2% C 0.214 H 313.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A646D2
RGBrgb(166, 70, 210)
HSLhsl(281, 61%, 55%)
HSVhsv(281, 67%, 82%)
CMYKcmyk(21%, 66.7%, 0%, 17.6%)
CIE-LABlab(48.44, 60.96, -55.30)
CIE-LCHlch(48.44, 82.31, 317.79°)
OKLaboklab(58.21% 0.1465 -0.1558)
OKLCHoklch(58.21% 0.214 313.2)
XYZxyz(29.5469, 17.1413, 62.7124)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A646D2 #72D246
analogous
#6046D2 #A646D2 #D246B8
triadic
#A646D2 #D2A646 #46D2A6
tetradic
#A646D2 #D26046 #72D246 #46B8D2
square
#A646D2 #D26046 #72D246 #46B8D2
split-complementary
#A646D2 #B8D246 #46D260
monochromatic
#611F7F #862BB0 #A646D2 #BE77DE #D5A8EA

Accessibility & contrast

On white

4.74
#A646D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#A646D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A646D2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A646D2#FFFFFF#000000##FFFFFF
##A646D21.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#3C75CF
Tritanopia (blue-blind)
#A16286
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a646d2;
/* rgb */ color: rgb(166, 70, 210);
/* oklch */ color: oklch(58.2% 0.214 313.2);
Tailwind
colors: {
  custom: {
    50: '#c480e0',
    500: '#a646d2',
    950: '#000000',
  },
}
SCSS
$custom: #a646d2;
$custom-light: #c480e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a646d2",
  "rgb": {
    "r": 166,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 281.143,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58213,
    "c": 0.21389,
    "h": 313.2
  },
  "luminance": 0.1714
}

Semantic roles & 50–950 ramp

primary
#A646D2
secondary
#AFD79C
accent
#E44476
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A646D2

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

Preview Lab → · Contrast checker → · Palette generator →

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