#A646BC#A646BC

#A646BC is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.9% C 0.193 H 319.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A646BC
RGBrgb(166, 70, 188)
HSLhsl(289, 47%, 51%)
HSVhsv(289, 63%, 74%)
CMYKcmyk(11.7%, 62.8%, 0%, 26.3%)
CIE-LABlab(47.13, 56.54, -44.69)
CIE-LCHlch(47.13, 72.06, 321.68°)
OKLaboklab(56.85% 0.1472 -0.1247)
OKLCHoklch(56.85% 0.193 319.7)
XYZxyz(26.9920, 16.1194, 49.2568)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A646BC #5CBC46
analogous
#6B46BC #A646BC #BC4697
triadic
#A646BC #BCA646 #46BCA6
tetradic
#A646BC #BC6B46 #5CBC46 #4697BC
square
#A646BC #BC6B46 #5CBC46 #4697BC
split-complementary
#A646BC #97BC46 #46BC6B
monochromatic
#582464 #7F3490 #A646BC #BC73CC #D1A0DD

Accessibility & contrast

On white

4.97
#A646BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A646BC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A646BC#FFFFFF#000000##FFFFFF
##A646BC1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2669C0
Deuteranopia (green-blind)
#4F73B9
Tritanopia (blue-blind)
#A75A7B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a646bc;
/* rgb */ color: rgb(166, 70, 188);
/* oklch */ color: oklch(56.9% 0.193 319.7);
Tailwind
colors: {
  custom: {
    50: '#c380d1',
    500: '#a646bc',
    950: '#000000',
  },
}
SCSS
$custom: #a646bc;
$custom-light: #c380d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a646bc",
  "rgb": {
    "r": 166,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 288.814,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56851,
    "c": 0.19291,
    "h": 319.7
  },
  "luminance": 0.16118
}

Semantic roles & 50–950 ramp

primary
#A646BC
secondary
#9EC995
accent
#D6516A
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A646BC

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

Preview Lab → · Contrast checker → · Palette generator →

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