#A866BC#A866BC

#A866BC is a mid, vivid purple. Relative luminance 0.215; OKLCH L 61.6% C 0.143 H 318.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A866BC
RGBrgb(168, 102, 188)
HSLhsl(286, 39%, 57%)
HSVhsv(286, 46%, 74%)
CMYKcmyk(10.6%, 45.7%, 0%, 26.3%)
CIE-LABlab(53.45, 40.99, -34.70)
CIE-LCHlch(53.45, 53.70, 319.76°)
OKLaboklab(61.55% 0.1066 -0.0959)
OKLCHoklch(61.55% 0.143 318)
XYZxyz(29.9757, 21.4594, 50.1303)
Luminance0.2146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A866BC #7ABC66
analogous
#7D66BC #A866BC #BC66A5
triadic
#A866BC #BCA866 #66BCA8
tetradic
#A866BC #BC7D66 #7ABC66 #66A5BC
square
#A866BC #BC7D66 #7ABC66 #66A5BC
split-complementary
#A866BC #A5BC66 #66BC7D
monochromatic
#653375 #8A469F #A866BC #C091CF #D8BBE1

Accessibility & contrast

On white

3.97
#A866BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#A866BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A866BC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A866BC#FFFFFF#000000##000000
##A866BC1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#587BBF
Deuteranopia (green-blind)
#6A82BA
Tritanopia (blue-blind)
#A87288
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a866bc;
/* rgb */ color: rgb(168, 102, 188);
/* oklch */ color: oklch(61.6% 0.143 318.0);
Tailwind
colors: {
  custom: {
    50: '#c393d0',
    500: '#a866bc',
    950: '#000000',
  },
}
SCSS
$custom: #a866bc;
$custom-light: #c393d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a866bc",
  "rgb": {
    "r": 168,
    "g": 102,
    "b": 188
  },
  "hsl": {
    "h": 286.047,
    "s": 39.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61552,
    "c": 0.14339,
    "h": 318
  },
  "luminance": 0.21458
}

Semantic roles & 50–950 ramp

primary
#A866BC
secondary
#B6D0AD
accent
#CF5974
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #A866BC

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

Preview Lab → · Contrast checker → · Palette generator →

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