#A647B7#A647B7

#A647B7 is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.7% C 0.187 H 321.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A647B7
RGBrgb(166, 71, 183)
HSLhsl(291, 44%, 50%)
HSVhsv(291, 61%, 72%)
CMYKcmyk(9.3%, 61.2%, 0%, 28.2%)
CIE-LABlab(47.02, 55.11, -41.95)
CIE-LCHlch(47.02, 69.26, 322.73°)
OKLaboklab(56.68% 0.1458 -0.1168)
OKLCHoklch(56.68% 0.187 321.3)
XYZxyz(26.5254, 16.0337, 46.4882)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A647B7 #58B747
analogous
#6E47B7 #A647B7 #B74790
triadic
#A647B7 #B7A647 #47B7A6
tetradic
#A647B7 #B76E47 #58B747 #4790B7
square
#A647B7 #B76E47 #58B747 #4790B7
split-complementary
#A647B7 #90B747 #47B76E
monochromatic
#56255F #7E368B #A647B7 #BC73C9 #D19FDA

Accessibility & contrast

On white

4.99
#A647B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#A647B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A647B7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A647B7#FFFFFF#000000##FFFFFF
##A647B71.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E69BA
Deuteranopia (green-blind)
#5373B4
Tritanopia (blue-blind)
#A85878
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a647b7;
/* rgb */ color: rgb(166, 71, 183);
/* oklch */ color: oklch(56.7% 0.187 321.3);
Tailwind
colors: {
  custom: {
    50: '#c380cd',
    500: '#a647b7',
    950: '#000000',
  },
}
SCSS
$custom: #a647b7;
$custom-light: #c380cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a647b7",
  "rgb": {
    "r": 166,
    "g": 71,
    "b": 183
  },
  "hsl": {
    "h": 290.893,
    "s": 44.094,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5668,
    "c": 0.1868,
    "h": 321.3
  },
  "luminance": 0.16032
}

Semantic roles & 50–950 ramp

primary
#A647B7
secondary
#9BC694
accent
#D45467
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #A647B7

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

Preview Lab → · Contrast checker → · Palette generator →

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