#A866BB#A866BB

#A866BB is a mid, vivid purple. Relative luminance 0.214; OKLCH L 61.5% C 0.142 H 318.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#A866BB
RGBrgb(168, 102, 187)
HSLhsl(287, 38%, 57%)
HSVhsv(287, 45%, 73%)
CMYKcmyk(10.2%, 45.5%, 0%, 26.7%)
CIE-LABlab(53.40, 40.79, -34.19)
CIE-LCHlch(53.40, 53.22, 320.03°)
OKLaboklab(61.5% 0.1064 -0.0945)
OKLCHoklch(61.5% 0.142 318.4)
XYZxyz(29.8682, 21.4164, 49.5645)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A866BB #79BB66
analogous
#7E66BB #A866BB #BB66A4
triadic
#A866BB #BBA866 #66BBA8
tetradic
#A866BB #BB7E66 #79BB66 #66A4BB
square
#A866BB #BB7E66 #79BB66 #66A4BB
split-complementary
#A866BB #A4BB66 #66BB7E
monochromatic
#653373 #8A469E #A866BB #C090CE #D8BBE1

Accessibility & contrast

On white

3.98
#A866BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#A866BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A866BB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A866BB#FFFFFF#000000##000000
##A866BB1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#587BBE
Deuteranopia (green-blind)
#6A82B9
Tritanopia (blue-blind)
#A87188
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a866bb;
/* rgb */ color: rgb(168, 102, 187);
/* oklch */ color: oklch(61.5% 0.142 318.4);
Tailwind
colors: {
  custom: {
    50: '#c393d0',
    500: '#a866bb',
    950: '#000000',
  },
}
SCSS
$custom: #a866bb;
$custom-light: #c393d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a866bb",
  "rgb": {
    "r": 168,
    "g": 102,
    "b": 187
  },
  "hsl": {
    "h": 286.588,
    "s": 38.462,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61503,
    "c": 0.14229,
    "h": 318.4
  },
  "luminance": 0.21415
}

Semantic roles & 50–950 ramp

primary
#A866BB
secondary
#B5D0AD
accent
#CE5974
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #A866BB

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

Preview Lab → · Contrast checker → · Palette generator →

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