#A564CD#A564CD

#A564CD is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.8% C 0.164 H 311.1°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#A564CD
RGBrgb(165, 100, 205)
HSLhsl(277, 51%, 60%)
HSVhsv(277, 51%, 80%)
CMYKcmyk(19.5%, 51.2%, 0%, 19.6%)
CIE-LABlab(53.52, 44.87, -44.35)
CIE-LCHlch(53.52, 63.09, 315.34°)
OKLaboklab(61.8% 0.108 -0.124)
OKLCHoklch(61.8% 0.164 311.1)
XYZxyz(31.0917, 21.5221, 60.2621)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A564CD #8CCD64
analogous
#7164CD #A564CD #CD64C1
triadic
#A564CD #CDA564 #64CDA5
tetradic
#A564CD #CD7164 #8CCD64 #64C1CD
square
#A564CD #CD7164 #8CCD64 #64C1CD
split-complementary
#A564CD #C1CD64 #64CD71
monochromatic
#662D8A #893BB8 #A564CD #C092DC #DBC1EB

Accessibility & contrast

On white

3.96
#A564CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#A564CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A564CD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A564CD#FFFFFF#000000##000000
##A564CD1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD1
Deuteranopia (green-blind)
#5D81CA
Tritanopia (blue-blind)
#A0758F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a564cd;
/* rgb */ color: rgb(165, 100, 205);
/* oklch */ color: oklch(61.8% 0.164 311.1);
Tailwind
colors: {
  custom: {
    50: '#c292dd',
    500: '#a564cd',
    950: '#000000',
  },
}
SCSS
$custom: #a564cd;
$custom-light: #c292dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a564cd",
  "rgb": {
    "r": 165,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 277.143,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61798,
    "c": 0.16438,
    "h": 311.1
  },
  "luminance": 0.21521
}

Semantic roles & 50–950 ramp

primary
#A564CD
secondary
#C2DBB2
accent
#DB4D83
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A564CD

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

Preview Lab → · Contrast checker → · Palette generator →

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