#A866EF#A866EF

#A866EF is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.4% C 0.201 H 303.5°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A866EF
RGBrgb(168, 102, 239)
HSLhsl(269, 81%, 67%)
HSVhsv(269, 57%, 94%)
CMYKcmyk(29.7%, 57.3%, 0%, 6.3%)
CIE-LABlab(56.15, 52.37, -59.30)
CIE-LCHlch(56.15, 79.12, 311.45°)
OKLaboklab(64.42% 0.1108 -0.1676)
OKLCHoklch(64.42% 0.201 303.5)
XYZxyz(36.4763, 24.0596, 84.3669)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A866EF #ADEF66
analogous
#6669EF #A866EF #EC66EF
triadic
#A866EF #EFA866 #66EFA8
tetradic
#A866EF #EF6669 #ADEF66 #66EFEC
square
#A866EF #EF6669 #ADEF66 #66EFEC
split-complementary
#A866EF #EFEC66 #69EF66
monochromatic
#6A15C6 #882FE9 #A866EF #C89DF5 #E7D5FB

Accessibility & contrast

On white

3.61
#A866EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#A866EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A866EF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A866EF#FFFFFF#000000##000000
##A866EF1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2985F3
Deuteranopia (green-blind)
#4686EC
Tritanopia (blue-blind)
#9B81A1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a866ef;
/* rgb */ color: rgb(168, 102, 239);
/* oklch */ color: oklch(64.4% 0.201 303.5);
Tailwind
colors: {
  custom: {
    50: '#c694f5',
    500: '#a866ef',
    950: '#000000',
  },
}
SCSS
$custom: #a866ef;
$custom-light: #c694f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a866ef",
  "rgb": {
    "r": 168,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 268.905,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64421,
    "c": 0.20089,
    "h": 303.5
  },
  "luminance": 0.2406
}

Semantic roles & 50–950 ramp

primary
#A866EF
secondary
#D9EEC2
accent
#DD0877
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A866EF

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

Preview Lab → · Contrast checker → · Palette generator →

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