#A646B4#A646B4

#A646B4 is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.4% C 0.185 H 322.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A646B4
RGBrgb(166, 70, 180)
HSLhsl(292, 44%, 49%)
HSVhsv(292, 61%, 71%)
CMYKcmyk(7.8%, 61.1%, 0%, 29.4%)
CIE-LABlab(46.69, 55.00, -40.71)
CIE-LCHlch(46.69, 68.43, 323.49°)
OKLaboklab(56.39% 0.1469 -0.1132)
OKLCHoklch(56.39% 0.185 322.4)
XYZxyz(26.1534, 15.7839, 44.8402)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A646B4 #54B446
analogous
#6F46B4 #A646B4 #B4468B
triadic
#A646B4 #B4A646 #46B4A6
tetradic
#A646B4 #B46F46 #54B446 #468BB4
square
#A646B4 #B46F46 #54B446 #468BB4
split-complementary
#A646B4 #8BB446 #46B46F
monochromatic
#55245C #7D3588 #A646B4 #BC70C7 #D19CD8

Accessibility & contrast

On white

5.05
#A646B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#A646B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A646B4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A646B4#FFFFFF#000000##FFFFFF
##A646B41.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3068B7
Deuteranopia (green-blind)
#5472B1
Tritanopia (blue-blind)
#A85777
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a646b4;
/* rgb */ color: rgb(166, 70, 180);
/* oklch */ color: oklch(56.4% 0.185 322.4);
Tailwind
colors: {
  custom: {
    50: '#c37fcb',
    500: '#a646b4',
    950: '#000000',
  },
}
SCSS
$custom: #a646b4;
$custom-light: #c37fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#a646b4",
  "rgb": {
    "r": 166,
    "g": 70,
    "b": 180
  },
  "hsl": {
    "h": 292.364,
    "s": 44,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56389,
    "c": 0.18545,
    "h": 322.4
  },
  "luminance": 0.15783
}

Semantic roles & 50–950 ramp

primary
#A646B4
secondary
#98C591
accent
#D45464
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A646B4

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

Preview Lab → · Contrast checker → · Palette generator →

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