#A566E7#A566E7

#A566E7 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.6% C 0.191 H 304.0°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#A566E7
RGBrgb(165, 102, 231)
HSLhsl(269, 73%, 65%)
HSVhsv(269, 56%, 91%)
CMYKcmyk(28.6%, 55.8%, 0%, 9.4%)
CIE-LABlab(55.35, 49.77, -56.13)
CIE-LCHlch(55.35, 75.01, 311.56°)
OKLaboklab(63.61% 0.1069 -0.1584)
OKLCHoklch(63.61% 0.191 304)
XYZxyz(34.6890, 23.2717, 78.2502)
Luminance0.2327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A566E7 #A8E766
analogous
#6668E7 #A566E7 #E566E7
triadic
#A566E7 #E7A566 #66E7A5
tetradic
#A566E7 #E76668 #A8E766 #66E7E5
square
#A566E7 #E76668 #A8E766 #66E7E5
split-complementary
#A566E7 #E7E566 #68E766
monochromatic
#681DB6 #8631DF #A566E7 #C49BEF #E3D0F8

Accessibility & contrast

On white

3.71
#A566E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#A566E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A566E7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A566E7#FFFFFF#000000##000000
##A566E71.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3383EB
Deuteranopia (green-blind)
#4B84E4
Tritanopia (blue-blind)
#997F9D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a566e7;
/* rgb */ color: rgb(165, 102, 231);
/* oklch */ color: oklch(63.6% 0.191 304.0);
Tailwind
colors: {
  custom: {
    50: '#c394ef',
    500: '#a566e7',
    950: '#000000',
  },
}
SCSS
$custom: #a566e7;
$custom-light: #c394ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a566e7",
  "rgb": {
    "r": 165,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 269.302,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63613,
    "c": 0.19107,
    "h": 304
  },
  "luminance": 0.23272
}

Semantic roles & 50–950 ramp

primary
#A566E7
secondary
#D5EABF
accent
#D51175
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A566E7

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

Preview Lab → · Contrast checker → · Palette generator →

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