#A866DC#A866DC

#A866DC is a light, vivid violet. Relative luminance 0.230; OKLCH L 63.3% C 0.179 H 307.9°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#A866DC
RGBrgb(168, 102, 220)
HSLhsl(274, 63%, 63%)
HSVhsv(274, 54%, 86%)
CMYKcmyk(23.6%, 53.6%, 0%, 13.7%)
CIE-LABlab(55.07, 47.97, -50.37)
CIE-LCHlch(55.07, 69.56, 313.60°)
OKLaboklab(63.28% 0.1102 -0.1415)
OKLCHoklch(63.28% 0.179 307.9)
XYZxyz(33.8155, 22.9953, 70.3534)
Luminance0.2299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A866DC #9ADC66
analogous
#6D66DC #A866DC #DC66D5
triadic
#A866DC #DCA866 #66DCA8
tetradic
#A866DC #DC6D66 #9ADC66 #66D5DC
square
#A866DC #DC6D66 #9ADC66 #66D5DC
split-complementary
#A866DC #D5DC66 #66DC6D
monochromatic
#6B25A2 #8C34D1 #A866DC #C498E7 #E1CAF3

Accessibility & contrast

On white

3.75
#A866DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#A866DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A866DC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A866DC#FFFFFF#000000##000000
##A866DC1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4181E0
Deuteranopia (green-blind)
#5785D9
Tritanopia (blue-blind)
#A07B97
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a866dc;
/* rgb */ color: rgb(168, 102, 220);
/* oklch */ color: oklch(63.3% 0.179 307.9);
Tailwind
colors: {
  custom: {
    50: '#c594e7',
    500: '#a866dc',
    950: '#000000',
  },
}
SCSS
$custom: #a866dc;
$custom-light: #c594e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a866dc",
  "rgb": {
    "r": 168,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 273.559,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63279,
    "c": 0.17929,
    "h": 307.9
  },
  "luminance": 0.22995
}

Semantic roles & 50–950 ramp

primary
#A866DC
secondary
#CCE4BA
accent
#CB1B68
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A866DC

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

Preview Lab → · Contrast checker → · Palette generator →

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