#A864DC#A864DC

#A864DC is a light, vivid violet. Relative luminance 0.226; OKLCH L 63.0% C 0.182 H 308.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#A864DC
RGBrgb(168, 100, 220)
HSLhsl(274, 63%, 63%)
HSVhsv(274, 55%, 86%)
CMYKcmyk(23.6%, 54.5%, 0%, 13.7%)
CIE-LABlab(54.67, 49.02, -51.01)
CIE-LCHlch(54.67, 70.75, 313.86°)
OKLaboklab(62.98% 0.1128 -0.1433)
OKLCHoklch(62.98% 0.182 308.2)
XYZxyz(33.6213, 22.6069, 70.2887)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A864DC #98DC64
analogous
#6C64DC #A864DC #DC64D4
triadic
#A864DC #DCA864 #64DCA8
tetradic
#A864DC #DC6C64 #98DC64 #64D4DC
square
#A864DC #DC6C64 #98DC64 #64D4DC
split-complementary
#A864DC #D4DC64 #64DC6C
monochromatic
#6B24A1 #8C32D1 #A864DC #C496E7 #E0C8F3

Accessibility & contrast

On white

3.80
#A864DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#A864DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A864DC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A864DC#FFFFFF#000000##000000
##A864DC1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D80E0
Deuteranopia (green-blind)
#5584D9
Tritanopia (blue-blind)
#A07A97
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a864dc;
/* rgb */ color: rgb(168, 100, 220);
/* oklch */ color: oklch(63.0% 0.182 308.2);
Tailwind
colors: {
  custom: {
    50: '#c593e7',
    500: '#a864dc',
    950: '#000000',
  },
}
SCSS
$custom: #a864dc;
$custom-light: #c593e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a864dc",
  "rgb": {
    "r": 168,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 274,
    "s": 63.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62983,
    "c": 0.18236,
    "h": 308.2
  },
  "luminance": 0.22606
}

Semantic roles & 50–950 ramp

primary
#A864DC
secondary
#CBE4B8
accent
#CB1B67
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A864DC

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

Preview Lab → · Contrast checker → · Palette generator →

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