#A646B2#A646B2

#A646B2 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.3% C 0.184 H 323.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A646B2
RGBrgb(166, 70, 178)
HSLhsl(293, 44%, 49%)
HSVhsv(293, 61%, 70%)
CMYKcmyk(6.7%, 60.7%, 0%, 30.2%)
CIE-LABlab(46.58, 54.62, -39.71)
CIE-LCHlch(46.58, 67.53, 323.98°)
OKLaboklab(56.28% 0.1468 -0.1103)
OKLCHoklch(56.28% 0.184 323.1)
XYZxyz(25.9511, 15.7030, 43.7749)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A646B2 #52B246
analogous
#7046B2 #A646B2 #B24688
triadic
#A646B2 #B2A646 #46B2A6
tetradic
#A646B2 #B27046 #52B246 #4688B2
square
#A646B2 #B27046 #52B246 #4688B2
split-complementary
#A646B2 #88B246 #46B270
monochromatic
#54235A #7D3586 #A646B2 #BD6FC6 #D19BD8

Accessibility & contrast

On white

5.07
#A646B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#A646B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A646B2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A646B2#FFFFFF#000000##FFFFFF
##A646B21.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#5572AF
Tritanopia (blue-blind)
#A95675
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a646b2;
/* rgb */ color: rgb(166, 70, 178);
/* oklch */ color: oklch(56.3% 0.184 323.1);
Tailwind
colors: {
  custom: {
    50: '#c37fc9',
    500: '#a646b2',
    950: '#000000',
  },
}
SCSS
$custom: #a646b2;
$custom-light: #c37fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a646b2",
  "rgb": {
    "r": 166,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 293.333,
    "s": 43.548,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56276,
    "c": 0.18361,
    "h": 323.1
  },
  "luminance": 0.15702
}

Semantic roles & 50–950 ramp

primary
#A646B2
secondary
#96C490
accent
#D35563
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A646B2

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

Preview Lab → · Contrast checker → · Palette generator →

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