#A646B1#A646B1

#A646B1 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.2% C 0.183 H 323.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A646B1
RGBrgb(166, 70, 177)
HSLhsl(294, 43%, 48%)
HSVhsv(294, 60%, 69%)
CMYKcmyk(6.2%, 60.5%, 0%, 30.6%)
CIE-LABlab(46.53, 54.43, -39.21)
CIE-LCHlch(46.53, 67.08, 324.23°)
OKLaboklab(56.22% 0.1468 -0.1088)
OKLCHoklch(56.22% 0.183 323.5)
XYZxyz(25.8511, 15.6630, 43.2481)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A646B1 #51B146
analogous
#7046B1 #A646B1 #B14686
triadic
#A646B1 #B1A646 #46B1A6
tetradic
#A646B1 #B17046 #51B146 #4686B1
square
#A646B1 #B17046 #51B146 #4686B1
split-complementary
#A646B1 #86B146 #46B170
monochromatic
#542359 #7D3585 #A646B1 #BD6EC6 #D19AD7

Accessibility & contrast

On white

5.08
#A646B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#A646B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A646B1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A646B1#FFFFFF#000000##FFFFFF
##A646B11.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3267B4
Deuteranopia (green-blind)
#5672AE
Tritanopia (blue-blind)
#A95675
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a646b1;
/* rgb */ color: rgb(166, 70, 177);
/* oklch */ color: oklch(56.2% 0.183 323.5);
Tailwind
colors: {
  custom: {
    50: '#c37fc9',
    500: '#a646b1',
    950: '#000000',
  },
}
SCSS
$custom: #a646b1;
$custom-light: #c37fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a646b1",
  "rgb": {
    "r": 166,
    "g": 70,
    "b": 177
  },
  "hsl": {
    "h": 293.832,
    "s": 43.32,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5622,
    "c": 0.1827,
    "h": 323.5
  },
  "luminance": 0.15662
}

Semantic roles & 50–950 ramp

primary
#A646B1
secondary
#95C38F
accent
#D35562
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A646B1

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

Preview Lab → · Contrast checker → · Palette generator →

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