#A566E6#A566E6

#A566E6 is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.6% C 0.190 H 304.2°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#A566E6
RGBrgb(165, 102, 230)
HSLhsl(270, 72%, 65%)
HSVhsv(270, 56%, 90%)
CMYKcmyk(28.3%, 55.7%, 0%, 9.8%)
CIE-LABlab(55.29, 49.53, -55.66)
CIE-LCHlch(55.29, 74.51, 311.67°)
OKLaboklab(63.55% 0.1069 -0.157)
OKLCHoklch(63.55% 0.19 304.2)
XYZxyz(34.5482, 23.2154, 77.5085)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A566E6 #A7E666
analogous
#6667E6 #A566E6 #E566E6
triadic
#A566E6 #E6A566 #66E6A5
tetradic
#A566E6 #E66667 #A7E666 #66E6E5
square
#A566E6 #E66667 #A7E666 #66E6E5
split-complementary
#A566E6 #E6E566 #67E666
monochromatic
#681DB4 #8631DD #A566E6 #C49BEF #E3CFF7

Accessibility & contrast

On white

3.72
#A566E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#A566E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A566E6
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A566E6#FFFFFF#000000##000000
##A566E61.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3583EA
Deuteranopia (green-blind)
#4C84E3
Tritanopia (blue-blind)
#997F9C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a566e6;
/* rgb */ color: rgb(165, 102, 230);
/* oklch */ color: oklch(63.6% 0.190 304.2);
Tailwind
colors: {
  custom: {
    50: '#c394ee',
    500: '#a566e6',
    950: '#000000',
  },
}
SCSS
$custom: #a566e6;
$custom-light: #c394ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a566e6",
  "rgb": {
    "r": 165,
    "g": 102,
    "b": 230
  },
  "hsl": {
    "h": 269.531,
    "s": 71.91,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63552,
    "c": 0.18992,
    "h": 304.2
  },
  "luminance": 0.23215
}

Semantic roles & 50–950 ramp

primary
#A566E6
secondary
#D4EABE
accent
#D41274
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A566E6

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

Preview Lab → · Contrast checker → · Palette generator →

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