#A864CD#A864CD

#A864CD is a light, vivid violet. Relative luminance 0.218; OKLCH L 62.1% C 0.166 H 312.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#A864CD
RGBrgb(168, 100, 205)
HSLhsl(279, 51%, 60%)
HSVhsv(279, 51%, 80%)
CMYKcmyk(18%, 51.2%, 0%, 19.6%)
CIE-LABlab(53.87, 45.69, -43.78)
CIE-LCHlch(53.87, 63.27, 316.22°)
OKLaboklab(62.13% 0.1116 -0.1222)
OKLCHoklch(62.13% 0.166 312.4)
XYZxyz(31.7232, 21.8477, 60.2917)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A864CD #89CD64
analogous
#7364CD #A864CD #CD64BE
triadic
#A864CD #CDA864 #64CDA8
tetradic
#A864CD #CD7364 #89CD64 #64BECD
square
#A864CD #CD7364 #89CD64 #64BECD
split-complementary
#A864CD #BECD64 #64CD73
monochromatic
#692D8A #8C3BB8 #A864CD #C292DC #DCC1EB

Accessibility & contrast

On white

3.91
#A864CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#A864CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A864CD
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A864CD#FFFFFF#000000##000000
##A864CD1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DD1
Deuteranopia (green-blind)
#5F82CA
Tritanopia (blue-blind)
#A4758F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a864cd;
/* rgb */ color: rgb(168, 100, 205);
/* oklch */ color: oklch(62.1% 0.166 312.4);
Tailwind
colors: {
  custom: {
    50: '#c492dd',
    500: '#a864cd',
    950: '#000000',
  },
}
SCSS
$custom: #a864cd;
$custom-light: #c492dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a864cd",
  "rgb": {
    "r": 168,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 278.857,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62133,
    "c": 0.16553,
    "h": 312.4
  },
  "luminance": 0.21847
}

Semantic roles & 50–950 ramp

primary
#A864CD
secondary
#C0DBB2
accent
#DB4D7F
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A864CD

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

Preview Lab → · Contrast checker → · Palette generator →

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