#A564E4#A564E4

#A564E4 is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.1% C 0.191 H 305.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A564E4
RGBrgb(165, 100, 228)
HSLhsl(270, 70%, 64%)
HSVhsv(270, 56%, 89%)
CMYKcmyk(27.6%, 56.1%, 0%, 10.6%)
CIE-LABlab(54.78, 50.12, -55.36)
CIE-LCHlch(54.78, 74.68, 312.16°)
OKLaboklab(63.14% 0.1093 -0.1561)
OKLCHoklch(63.14% 0.191 305)
XYZxyz(34.0748, 22.7153, 75.9731)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A564E4 #A3E464
analogous
#6564E4 #A564E4 #E464E3
triadic
#A564E4 #E4A564 #64E4A5
tetradic
#A564E4 #E46564 #A3E464 #64E3E4
square
#A564E4 #E46564 #A3E464 #64E3E4
split-complementary
#A564E4 #E3E464 #64E465
monochromatic
#681FAF #8730DB #A564E4 #C398ED #E2CCF6

Accessibility & contrast

On white

3.79
#A564E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#A564E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A564E4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A564E4#FFFFFF#000000##000000
##A564E41.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3281E8
Deuteranopia (green-blind)
#4B83E1
Tritanopia (blue-blind)
#9A7D9B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a564e4;
/* rgb */ color: rgb(165, 100, 228);
/* oklch */ color: oklch(63.1% 0.191 305.0);
Tailwind
colors: {
  custom: {
    50: '#c393ed',
    500: '#a564e4',
    950: '#000000',
  },
}
SCSS
$custom: #a564e4;
$custom-light: #c393ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a564e4",
  "rgb": {
    "r": 165,
    "g": 100,
    "b": 228
  },
  "hsl": {
    "h": 270.469,
    "s": 70.33,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63136,
    "c": 0.19059,
    "h": 305
  },
  "luminance": 0.22715
}

Semantic roles & 50–950 ramp

primary
#A564E4
secondary
#D2E8BC
accent
#D21371
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A564E4

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

Preview Lab → · Contrast checker → · Palette generator →

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