#A647A7#A647A7

#A647A7 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.8% C 0.172 H 327.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A647A7
RGBrgb(166, 71, 167)
HSLhsl(299, 40%, 47%)
HSVhsv(299, 57%, 65%)
CMYKcmyk(0.6%, 57.5%, 0%, 34.5%)
CIE-LABlab(46.18, 52.13, -33.86)
CIE-LCHlch(46.18, 62.16, 327.00°)
OKLaboklab(55.8% 0.1447 -0.0933)
OKLCHoklch(55.8% 0.172 327.2)
XYZxyz(24.9538, 15.4050, 38.2108)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A647A7 #48A747
analogous
#7647A7 #A647A7 #A74778
triadic
#A647A7 #A7A647 #47A7A6
tetradic
#A647A7 #A77647 #48A747 #4778A7
square
#A647A7 #A77647 #48A747 #4778A7
split-complementary
#A647A7 #78A747 #47A776
monochromatic
#512251 #7B357C #A647A7 #BF6BC0 #D296D2

Accessibility & contrast

On white

5.15
#A647A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#A647A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A647A7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A647A7#FFFFFF#000000##FFFFFF
##A647A71.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C66AA
Deuteranopia (green-blind)
#5C72A4
Tritanopia (blue-blind)
#AB5370
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a647a7;
/* rgb */ color: rgb(166, 71, 167);
/* oklch */ color: oklch(55.8% 0.172 327.2);
Tailwind
colors: {
  custom: {
    50: '#c380c1',
    500: '#a647a7',
    950: '#000000',
  },
}
SCSS
$custom: #a647a7;
$custom-light: #c380c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a647a7",
  "rgb": {
    "r": 166,
    "g": 71,
    "b": 167
  },
  "hsl": {
    "h": 299.375,
    "s": 40.336,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55801,
    "c": 0.17216,
    "h": 327.2
  },
  "luminance": 0.15403
}

Semantic roles & 50–950 ramp

primary
#A647A7
secondary
#8CBE8B
accent
#D05859
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A647A7

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

Preview Lab → · Contrast checker → · Palette generator →

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