#A566E2#A566E2

#A566E2 is a light, vivid violet. Relative luminance 0.230; OKLCH L 63.3% C 0.185 H 305.2°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#A566E2
RGBrgb(165, 102, 226)
HSLhsl(270, 68%, 64%)
HSVhsv(270, 55%, 89%)
CMYKcmyk(27%, 54.9%, 0%, 11.4%)
CIE-LABlab(55.07, 48.59, -53.78)
CIE-LCHlch(55.07, 72.48, 312.10°)
OKLaboklab(63.31% 0.1067 -0.1515)
OKLCHoklch(63.31% 0.185 305.2)
XYZxyz(33.9929, 22.9933, 74.5841)
Luminance0.2299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A566E2 #A3E266
analogous
#6766E2 #A566E2 #E266E1
triadic
#A566E2 #E2A566 #66E2A5
tetradic
#A566E2 #E26766 #A3E266 #66E1E2
square
#A566E2 #E26766 #A3E266 #66E1E2
split-complementary
#A566E2 #E1E266 #66E267
monochromatic
#6821AD #8733D8 #A566E2 #C399EC #E2CDF6

Accessibility & contrast

On white

3.75
#A566E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#A566E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A566E2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A566E2#FFFFFF#000000##000000
##A566E21.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3982E6
Deuteranopia (green-blind)
#4F84DF
Tritanopia (blue-blind)
#9B7D9A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a566e2;
/* rgb */ color: rgb(165, 102, 226);
/* oklch */ color: oklch(63.3% 0.185 305.2);
Tailwind
colors: {
  custom: {
    50: '#c394ec',
    500: '#a566e2',
    950: '#000000',
  },
}
SCSS
$custom: #a566e2;
$custom-light: #c394ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a566e2",
  "rgb": {
    "r": 165,
    "g": 102,
    "b": 226
  },
  "hsl": {
    "h": 270.484,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63311,
    "c": 0.18531,
    "h": 305.2
  },
  "luminance": 0.22993
}

Semantic roles & 50–950 ramp

primary
#A566E2
secondary
#D2E7BC
accent
#D01571
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A566E2

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

Preview Lab → · Contrast checker → · Palette generator →

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