#A866A4#A866A4

#A866A4 is a mid, moderate purple. Relative luminance 0.205; OKLCH L 60.4% C 0.118 H 329.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A866A4
RGBrgb(168, 102, 164)
HSLhsl(304, 28%, 53%)
HSVhsv(304, 39%, 66%)
CMYKcmyk(0%, 39.3%, 2.4%, 34.1%)
CIE-LABlab(52.41, 36.24, -22.39)
CIE-LCHlch(52.41, 42.60, 328.28°)
OKLaboklab(60.43% 0.1016 -0.0608)
OKLCHoklch(60.43% 0.118 329.1)
XYZxyz(27.6002, 20.5092, 37.6196)
Luminance0.2051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A866A4 #66A86A
analogous
#8B66A8 #A866A4 #A86683
triadic
#A866A4 #A4A866 #66A4A8
tetradic
#A866A4 #A88B66 #66A86A #6683A8
square
#A866A4 #A88B66 #66A86A #6683A8
split-complementary
#A866A4 #83A866 #66A88B
monochromatic
#5E365C #854C82 #A866A4 #BE8DBB #D4B4D2

Accessibility & contrast

On white

4.12
#A866A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#A866A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A866A4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A866A4#FFFFFF#000000##000000
##A866A41.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6277A6
Deuteranopia (green-blind)
#7480A2
Tritanopia (blue-blind)
#AC6B7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a866a4;
/* rgb */ color: rgb(168, 102, 164);
/* oklch */ color: oklch(60.4% 0.118 329.1);
Tailwind
colors: {
  custom: {
    50: '#c393bf',
    500: '#a866a4',
    950: '#000000',
  },
}
SCSS
$custom: #a866a4;
$custom-light: #c393bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a866a4",
  "rgb": {
    "r": 168,
    "g": 102,
    "b": 164
  },
  "hsl": {
    "h": 303.636,
    "s": 27.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60432,
    "c": 0.11839,
    "h": 329.1
  },
  "luminance": 0.20508
}

Semantic roles & 50–950 ramp

primary
#A866A4
secondary
#A7C3A8
accent
#C46A64
background
#FCF9FB
surface
#F8F1F7
border
#D1CBD0
text
#130D12
muted
#827E81

Preview Lab

Preview with #A866A4

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

Preview Lab → · Contrast checker → · Palette generator →

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