#A646A5#A646A5

#A646A5 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.6% C 0.172 H 328.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A646A5
RGBrgb(166, 70, 165)
HSLhsl(301, 41%, 46%)
HSVhsv(301, 58%, 65%)
CMYKcmyk(0%, 57.8%, 0.6%, 34.9%)
CIE-LABlab(45.91, 52.23, -33.10)
CIE-LCHlch(45.91, 61.83, 327.64°)
OKLaboklab(55.57% 0.1458 -0.0911)
OKLCHoklch(55.57% 0.172 328)
XYZxyz(24.7072, 15.2055, 37.2236)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A646A5 #46A647
analogous
#7746A6 #A646A5 #A64675
triadic
#A646A5 #A5A646 #46A5A6
tetradic
#A646A5 #A67746 #46A647 #4675A6
square
#A646A5 #A67746 #46A647 #4675A6
split-complementary
#A646A5 #75A646 #46A677
monochromatic
#50224F #7B347A #A646A5 #C069BF #D294D1

Accessibility & contrast

On white

5.20
#A646A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#A646A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A646A5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A646A5#FFFFFF#000000##FFFFFF
##A646A51.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C65A8
Deuteranopia (green-blind)
#5C71A2
Tritanopia (blue-blind)
#AB516F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a646a5;
/* rgb */ color: rgb(166, 70, 165);
/* oklch */ color: oklch(55.6% 0.172 328.0);
Tailwind
colors: {
  custom: {
    50: '#c37fc0',
    500: '#a646a5',
    950: '#000000',
  },
}
SCSS
$custom: #a646a5;
$custom-light: #c37fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#a646a5",
  "rgb": {
    "r": 166,
    "g": 70,
    "b": 165
  },
  "hsl": {
    "h": 300.625,
    "s": 40.678,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55572,
    "c": 0.1719,
    "h": 328
  },
  "luminance": 0.15204
}

Semantic roles & 50–950 ramp

primary
#A646A5
secondary
#8ABE8B
accent
#D15957
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A646A5

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

Preview Lab → · Contrast checker → · Palette generator →

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