#A866EC#A866EC

#A866EC is a light, vivid violet. Relative luminance 0.239; OKLCH L 64.2% C 0.197 H 304.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A866EC
RGBrgb(168, 102, 236)
HSLhsl(270, 78%, 66%)
HSVhsv(270, 57%, 93%)
CMYKcmyk(28.8%, 56.8%, 0%, 7.5%)
CIE-LABlab(55.97, 51.67, -57.91)
CIE-LCHlch(55.97, 77.61, 311.74°)
OKLaboklab(64.24% 0.1107 -0.1635)
OKLCHoklch(64.24% 0.197 304.1)
XYZxyz(36.0368, 23.8838, 82.0522)
Luminance0.2388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A866EC #AAEC66
analogous
#6667EC #A866EC #EB66EC
triadic
#A866EC #ECA866 #66ECA8
tetradic
#A866EC #EC6667 #AAEC66 #66ECEB
square
#A866EC #EC6667 #AAEC66 #66ECEB
split-complementary
#A866EC #ECEB66 #67EC66
monochromatic
#6B18C0 #8930E5 #A866EC #C79CF3 #E6D3FA

Accessibility & contrast

On white

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

On black

5.78
#A866EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A866EC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A866EC#FFFFFF#000000##000000
##A866EC1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E84F0
Deuteranopia (green-blind)
#4986E9
Tritanopia (blue-blind)
#9C809F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a866ec;
/* rgb */ color: rgb(168, 102, 236);
/* oklch */ color: oklch(64.2% 0.197 304.1);
Tailwind
colors: {
  custom: {
    50: '#c594f3',
    500: '#a866ec',
    950: '#000000',
  },
}
SCSS
$custom: #a866ec;
$custom-light: #c594f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a866ec",
  "rgb": {
    "r": 168,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 269.552,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64235,
    "c": 0.19749,
    "h": 304.1
  },
  "luminance": 0.23884
}

Semantic roles & 50–950 ramp

primary
#A866EC
secondary
#D7EDC1
accent
#DA0B74
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A866EC

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

Preview Lab → · Contrast checker → · Palette generator →

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