#A866DF#A866DF

#A866DF is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.5% C 0.183 H 307.1°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#A866DF
RGBrgb(168, 102, 223)
HSLhsl(273, 65%, 64%)
HSVhsv(273, 54%, 87%)
CMYKcmyk(24.7%, 54.3%, 0%, 12.5%)
CIE-LABlab(55.23, 48.65, -51.80)
CIE-LCHlch(55.23, 71.07, 313.20°)
OKLaboklab(63.45% 0.1103 -0.1456)
OKLCHoklch(63.45% 0.183 307.1)
XYZxyz(34.2164, 23.1557, 72.4647)
Luminance0.2316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A866DF #9DDF66
analogous
#6B66DF #A866DF #DF66D9
triadic
#A866DF #DFA866 #66DFA8
tetradic
#A866DF #DF6B66 #9DDF66 #66D9DF
square
#A866DF #DF6B66 #9DDF66 #66D9DF
split-complementary
#A866DF #D9DF66 #66DF6B
monochromatic
#6B23A8 #8B33D4 #A866DF #C599EA #E2CBF4

Accessibility & contrast

On white

3.73
#A866DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#A866DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A866DF
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A866DF#FFFFFF#000000##000000
##A866DF1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E82E3
Deuteranopia (green-blind)
#5585DC
Tritanopia (blue-blind)
#A07C99
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a866df;
/* rgb */ color: rgb(168, 102, 223);
/* oklch */ color: oklch(63.5% 0.183 307.1);
Tailwind
colors: {
  custom: {
    50: '#c594e9',
    500: '#a866df',
    950: '#000000',
  },
}
SCSS
$custom: #a866df;
$custom-light: #c594e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a866df",
  "rgb": {
    "r": 168,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 272.727,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63454,
    "c": 0.1827,
    "h": 307.1
  },
  "luminance": 0.23155
}

Semantic roles & 50–950 ramp

primary
#A866DF
secondary
#CEE6BB
accent
#CD186B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A866DF

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

Preview Lab → · Contrast checker → · Palette generator →

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