#A866E7#A866E7

#A866E7 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.9% C 0.192 H 305.2°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A866E7
RGBrgb(168, 102, 231)
HSLhsl(271, 73%, 65%)
HSVhsv(271, 56%, 91%)
CMYKcmyk(27.3%, 55.8%, 0%, 9.4%)
CIE-LABlab(55.68, 50.50, -55.58)
CIE-LCHlch(55.68, 75.09, 312.26°)
OKLaboklab(63.93% 0.1106 -0.1567)
OKLCHoklch(63.93% 0.192 305.2)
XYZxyz(35.3205, 23.5973, 78.2798)
Luminance0.2360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A866E7 #A5E766
analogous
#6866E7 #A866E7 #E766E5
triadic
#A866E7 #E7A866 #66E7A8
tetradic
#A866E7 #E76866 #A5E766 #66E5E7
square
#A866E7 #E76866 #A5E766 #66E5E7
split-complementary
#A866E7 #E5E766 #66E768
monochromatic
#6B1DB6 #8A31DF #A866E7 #C69BEF #E4D0F8

Accessibility & contrast

On white

3.67
#A866E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#A866E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A866E7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A866E7#FFFFFF#000000##000000
##A866E71.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3583EB
Deuteranopia (green-blind)
#4E86E4
Tritanopia (blue-blind)
#9D7F9D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a866e7;
/* rgb */ color: rgb(168, 102, 231);
/* oklch */ color: oklch(63.9% 0.192 305.2);
Tailwind
colors: {
  custom: {
    50: '#c594ef',
    500: '#a866e7',
    950: '#000000',
  },
}
SCSS
$custom: #a866e7;
$custom-light: #c594ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a866e7",
  "rgb": {
    "r": 168,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 270.698,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6393,
    "c": 0.19181,
    "h": 305.2
  },
  "luminance": 0.23597
}

Semantic roles & 50–950 ramp

primary
#A866E7
secondary
#D4EABF
accent
#D51170
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A866E7

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

Preview Lab → · Contrast checker → · Palette generator →

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