#A866E6#A866E6

#A866E6 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.9% C 0.191 H 305.5°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#A866E6
RGBrgb(168, 102, 230)
HSLhsl(271, 72%, 65%)
HSVhsv(271, 56%, 90%)
CMYKcmyk(27%, 55.7%, 0%, 9.8%)
CIE-LABlab(55.63, 50.27, -55.11)
CIE-LCHlch(55.63, 74.59, 312.37°)
OKLaboklab(63.87% 0.1106 -0.1553)
OKLCHoklch(63.87% 0.191 305.5)
XYZxyz(35.1797, 23.5410, 77.5381)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A866E6 #A4E666
analogous
#6866E6 #A866E6 #E666E4
triadic
#A866E6 #E6A866 #66E6A8
tetradic
#A866E6 #E66866 #A4E666 #66E4E6
square
#A866E6 #E66866 #A4E666 #66E4E6
split-complementary
#A866E6 #E4E666 #66E668
monochromatic
#6B1DB4 #8A31DD #A866E6 #C69BEF #E4CFF7

Accessibility & contrast

On white

3.68
#A866E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#A866E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A866E6
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A866E6#FFFFFF#000000##000000
##A866E61.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3683EA
Deuteranopia (green-blind)
#4F86E3
Tritanopia (blue-blind)
#9E7E9C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a866e6;
/* rgb */ color: rgb(168, 102, 230);
/* oklch */ color: oklch(63.9% 0.191 305.5);
Tailwind
colors: {
  custom: {
    50: '#c594ee',
    500: '#a866e6',
    950: '#000000',
  },
}
SCSS
$custom: #a866e6;
$custom-light: #c594ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a866e6",
  "rgb": {
    "r": 168,
    "g": 102,
    "b": 230
  },
  "hsl": {
    "h": 270.938,
    "s": 71.91,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6387,
    "c": 0.19067,
    "h": 305.5
  },
  "luminance": 0.23541
}

Semantic roles & 50–950 ramp

primary
#A866E6
secondary
#D3EABE
accent
#D41270
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A866E6

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

Preview Lab → · Contrast checker → · Palette generator →

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