#A646BB#A646BB

#A646BB is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.8% C 0.192 H 320.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A646BB
RGBrgb(166, 70, 187)
HSLhsl(289, 46%, 50%)
HSVhsv(289, 63%, 73%)
CMYKcmyk(11.2%, 62.6%, 0%, 26.7%)
CIE-LABlab(47.07, 56.34, -44.19)
CIE-LCHlch(47.07, 71.61, 321.89°)
OKLaboklab(56.79% 0.1471 -0.1233)
OKLCHoklch(56.79% 0.192 320)
XYZxyz(26.8846, 16.0764, 48.6910)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A646BB #5BBB46
analogous
#6C46BB #A646BB #BB4695
triadic
#A646BB #BBA646 #46BBA6
tetradic
#A646BB #BB6C46 #5BBB46 #4695BB
square
#A646BB #BB6C46 #5BBB46 #4695BB
split-complementary
#A646BB #95BB46 #46BB6C
monochromatic
#572462 #7F358F #A646BB #BC73CB #D1A0DC

Accessibility & contrast

On white

4.98
#A646BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#A646BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A646BB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A646BB#FFFFFF#000000##FFFFFF
##A646BB1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2769BF
Deuteranopia (green-blind)
#5073B8
Tritanopia (blue-blind)
#A7597A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a646bb;
/* rgb */ color: rgb(166, 70, 187);
/* oklch */ color: oklch(56.8% 0.192 320.0);
Tailwind
colors: {
  custom: {
    50: '#c380d0',
    500: '#a646bb',
    950: '#000000',
  },
}
SCSS
$custom: #a646bb;
$custom-light: #c380d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a646bb",
  "rgb": {
    "r": 166,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 289.231,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56792,
    "c": 0.19197,
    "h": 320
  },
  "luminance": 0.16075
}

Semantic roles & 50–950 ramp

primary
#A646BB
secondary
#9EC894
accent
#D6526A
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A646BB

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

Preview Lab → · Contrast checker → · Palette generator →

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