#A866E5#A866E5

#A866E5 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.8% C 0.190 H 305.7°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#A866E5
RGBrgb(168, 102, 229)
HSLhsl(271, 71%, 65%)
HSVhsv(271, 55%, 90%)
CMYKcmyk(26.6%, 55.5%, 0%, 10.2%)
CIE-LABlab(55.57, 50.03, -54.64)
CIE-LCHlch(55.57, 74.09, 312.48°)
OKLaboklab(63.81% 0.1106 -0.1539)
OKLCHoklch(63.81% 0.19 305.7)
XYZxyz(35.0397, 23.4850, 76.8007)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A866E5 #A3E566
analogous
#6866E5 #A866E5 #E566E3
triadic
#A866E5 #E5A866 #66E5A8
tetradic
#A866E5 #E56866 #A3E566 #66E3E5
square
#A866E5 #E56866 #A3E566 #66E3E5
split-complementary
#A866E5 #E3E566 #66E568
monochromatic
#6B1EB2 #8A32DC #A866E5 #C69AEE #E3CFF7

Accessibility & contrast

On white

3.69
#A866E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#A866E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A866E5
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A866E5#FFFFFF#000000##000000
##A866E51.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3883E9
Deuteranopia (green-blind)
#5085E2
Tritanopia (blue-blind)
#9E7E9C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a866e5;
/* rgb */ color: rgb(168, 102, 229);
/* oklch */ color: oklch(63.8% 0.190 305.7);
Tailwind
colors: {
  custom: {
    50: '#c594ee',
    500: '#a866e5',
    950: '#000000',
  },
}
SCSS
$custom: #a866e5;
$custom-light: #c594ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a866e5",
  "rgb": {
    "r": 168,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 271.181,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6381,
    "c": 0.18953,
    "h": 305.7
  },
  "luminance": 0.23485
}

Semantic roles & 50–950 ramp

primary
#A866E5
secondary
#D3E9BE
accent
#D3136F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A866E5

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

Preview Lab → · Contrast checker → · Palette generator →

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