#A864DB#A864DB

#A864DB is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.9% C 0.181 H 308.5°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#A864DB
RGBrgb(168, 100, 219)
HSLhsl(274, 62%, 63%)
HSVhsv(274, 54%, 86%)
CMYKcmyk(23.3%, 54.3%, 0%, 14.1%)
CIE-LABlab(54.61, 48.80, -50.54)
CIE-LCHlch(54.61, 70.25, 314.00°)
OKLaboklab(62.93% 0.1127 -0.1419)
OKLCHoklch(62.93% 0.181 308.5)
XYZxyz(33.4893, 22.5541, 69.5933)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A864DB #97DB64
analogous
#6D64DB #A864DB #DB64D2
triadic
#A864DB #DBA864 #64DBA8
tetradic
#A864DB #DB6D64 #97DB64 #64D2DB
square
#A864DB #DB6D64 #97DB64 #64D2DB
split-complementary
#A864DB #D2DB64 #64DB6D
monochromatic
#6B25A0 #8C32CF #A864DB #C496E7 #E0C7F2

Accessibility & contrast

On white

3.81
#A864DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#A864DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A864DB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A864DB#FFFFFF#000000##000000
##A864DB1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E80DF
Deuteranopia (green-blind)
#5684D8
Tritanopia (blue-blind)
#A17996
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a864db;
/* rgb */ color: rgb(168, 100, 219);
/* oklch */ color: oklch(62.9% 0.181 308.5);
Tailwind
colors: {
  custom: {
    50: '#c592e7',
    500: '#a864db',
    950: '#000000',
  },
}
SCSS
$custom: #a864db;
$custom-light: #c592e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a864db",
  "rgb": {
    "r": 168,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 274.286,
    "s": 62.304,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62925,
    "c": 0.18124,
    "h": 308.5
  },
  "luminance": 0.22554
}

Semantic roles & 50–950 ramp

primary
#A864DB
secondary
#CAE3B8
accent
#CA1B66
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A864DB

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

Preview Lab → · Contrast checker → · Palette generator →

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