#A866EB#A866EB

#A866EB is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.2% C 0.196 H 304.3°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#A866EB
RGBrgb(168, 102, 235)
HSLhsl(270, 77%, 66%)
HSVhsv(270, 57%, 92%)
CMYKcmyk(28.5%, 56.6%, 0%, 7.8%)
CIE-LABlab(55.91, 51.43, -57.45)
CIE-LCHlch(55.91, 77.11, 311.84°)
OKLaboklab(64.17% 0.1107 -0.1622)
OKLCHoklch(64.17% 0.196 304.3)
XYZxyz(35.8919, 23.8259, 81.2891)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A866EB #A9EB66
analogous
#6666EB #A866EB #EA66EB
triadic
#A866EB #EBA866 #66EBA8
tetradic
#A866EB #EB6666 #A9EB66 #66EBEA
square
#A866EB #EB6666 #A9EB66 #66EBEA
split-complementary
#A866EB #EBEA66 #66EB66
monochromatic
#6B19BE #8930E4 #A866EB #C79CF2 #E6D2F9

Accessibility & contrast

On white

3.64
#A866EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#A866EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A866EB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A866EB#FFFFFF#000000##000000
##A866EB1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3084EF
Deuteranopia (green-blind)
#4A86E8
Tritanopia (blue-blind)
#9C809F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a866eb;
/* rgb */ color: rgb(168, 102, 235);
/* oklch */ color: oklch(64.2% 0.196 304.3);
Tailwind
colors: {
  custom: {
    50: '#c594f2',
    500: '#a866eb',
    950: '#000000',
  },
}
SCSS
$custom: #a866eb;
$custom-light: #c594f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a866eb",
  "rgb": {
    "r": 168,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 269.774,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64174,
    "c": 0.19635,
    "h": 304.3
  },
  "luminance": 0.23826
}

Semantic roles & 50–950 ramp

primary
#A866EB
secondary
#D7ECC1
accent
#D90C74
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A866EB

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

Preview Lab → · Contrast checker → · Palette generator →

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