#A646D5#A646D5

#A646D5 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.4% C 0.217 H 312.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A646D5
RGBrgb(166, 70, 213)
HSLhsl(280, 63%, 55%)
HSVhsv(280, 67%, 84%)
CMYKcmyk(22.1%, 67.1%, 0%, 16.5%)
CIE-LABlab(48.63, 61.58, -56.72)
CIE-LCHlch(48.63, 83.72, 317.36°)
OKLaboklab(58.41% 0.1463 -0.1599)
OKLCHoklch(58.41% 0.217 312.5)
XYZxyz(29.9241, 17.2922, 64.6993)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A646D5 #75D546
analogous
#5E46D5 #A646D5 #D546BC
triadic
#A646D5 #D5A646 #46D5A6
tetradic
#A646D5 #D55E46 #75D546 #46BCD5
square
#A646D5 #D55E46 #75D546 #46BCD5
split-complementary
#A646D5 #BCD546 #46D55E
monochromatic
#621E83 #8729B5 #A646D5 #BE78E0 #D6AAEC

Accessibility & contrast

On white

4.71
#A646D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#A646D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A646D5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A646D5#FFFFFF#000000##FFFFFF
##A646D51.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#3976D2
Tritanopia (blue-blind)
#A16388
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a646d5;
/* rgb */ color: rgb(166, 70, 213);
/* oklch */ color: oklch(58.4% 0.217 312.5);
Tailwind
colors: {
  custom: {
    50: '#c480e3',
    500: '#a646d5',
    950: '#000000',
  },
}
SCSS
$custom: #a646d5;
$custom-light: #c480e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a646d5",
  "rgb": {
    "r": 166,
    "g": 70,
    "b": 213
  },
  "hsl": {
    "h": 280.28,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58408,
    "c": 0.21678,
    "h": 312.5
  },
  "luminance": 0.17291
}

Semantic roles & 50–950 ramp

primary
#A646D5
secondary
#B1D99E
accent
#E64278
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #A646D5

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

Preview Lab → · Contrast checker → · Palette generator →

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