#A866D2#A866D2

#A866D2 is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.7% C 0.168 H 310.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#A866D2
RGBrgb(168, 102, 210)
HSLhsl(277, 55%, 61%)
HSVhsv(277, 51%, 82%)
CMYKcmyk(20%, 51.4%, 0%, 17.6%)
CIE-LABlab(54.53, 45.72, -45.56)
CIE-LCHlch(54.53, 64.55, 315.10°)
OKLaboklab(62.71% 0.1094 -0.1274)
OKLCHoklch(62.71% 0.168 310.6)
XYZxyz(32.5305, 22.4813, 63.5859)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A866D2 #90D266
analogous
#7266D2 #A866D2 #D266C6
triadic
#A866D2 #D2A866 #66D2A8
tetradic
#A866D2 #D27266 #90D266 #66C6D2
square
#A866D2 #D27266 #90D266 #66C6D2
split-complementary
#A866D2 #C6D266 #66D272
monochromatic
#6A2B93 #8D39C2 #A866D2 #C395E0 #DEC5EE

Accessibility & contrast

On white

3.82
#A866D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#A866D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A866D2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A866D2#FFFFFF#000000##000000
##A866D21.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#497FD6
Deuteranopia (green-blind)
#5E84CF
Tritanopia (blue-blind)
#A37892
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a866d2;
/* rgb */ color: rgb(168, 102, 210);
/* oklch */ color: oklch(62.7% 0.168 310.6);
Tailwind
colors: {
  custom: {
    50: '#c494e0',
    500: '#a866d2',
    950: '#000000',
  },
}
SCSS
$custom: #a866d2;
$custom-light: #c494e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a866d2",
  "rgb": {
    "r": 168,
    "g": 102,
    "b": 210
  },
  "hsl": {
    "h": 276.667,
    "s": 54.545,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62712,
    "c": 0.16794,
    "h": 310.6
  },
  "luminance": 0.22481
}

Semantic roles & 50–950 ramp

primary
#A866D2
secondary
#C5DEB6
accent
#C22361
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A866D2

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

Preview Lab → · Contrast checker → · Palette generator →

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