#A566E5#A566E5

#A566E5 is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.5% C 0.189 H 304.5°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#A566E5
RGBrgb(165, 102, 229)
HSLhsl(270, 71%, 65%)
HSVhsv(270, 55%, 90%)
CMYKcmyk(27.9%, 55.5%, 0%, 10.2%)
CIE-LABlab(55.24, 49.30, -55.19)
CIE-LCHlch(55.24, 74.00, 311.77°)
OKLaboklab(63.49% 0.1068 -0.1556)
OKLCHoklch(63.49% 0.189 304.5)
XYZxyz(34.4082, 23.1594, 76.7711)
Luminance0.2316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A566E5 #A6E566
analogous
#6666E5 #A566E5 #E566E5
triadic
#A566E5 #E5A566 #66E5A5
tetradic
#A566E5 #E56666 #A6E566 #66E5E5
square
#A566E5 #E56666 #A6E566 #66E5E5
split-complementary
#A566E5 #E5E566 #66E566
monochromatic
#681EB2 #8632DC #A566E5 #C49AEE #E3CFF7

Accessibility & contrast

On white

3.73
#A566E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#A566E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A566E5
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A566E5#FFFFFF#000000##000000
##A566E51.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3683E9
Deuteranopia (green-blind)
#4D84E2
Tritanopia (blue-blind)
#9A7E9C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a566e5;
/* rgb */ color: rgb(165, 102, 229);
/* oklch */ color: oklch(63.5% 0.189 304.5);
Tailwind
colors: {
  custom: {
    50: '#c394ee',
    500: '#a566e5',
    950: '#000000',
  },
}
SCSS
$custom: #a566e5;
$custom-light: #c394ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a566e5",
  "rgb": {
    "r": 165,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 269.764,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63491,
    "c": 0.18877,
    "h": 304.5
  },
  "luminance": 0.23159
}

Semantic roles & 50–950 ramp

primary
#A566E5
secondary
#D4E9BE
accent
#D31374
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A566E5

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

Preview Lab → · Contrast checker → · Palette generator →

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