#A566F6#A566F6

#A566F6 is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.6% C 0.208 H 300.9°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#A566F6
RGBrgb(165, 102, 246)
HSLhsl(266, 89%, 68%)
HSVhsv(266, 59%, 96%)
CMYKcmyk(32.9%, 58.5%, 0%, 3.5%)
CIE-LABlab(56.24, 53.36, -63.06)
CIE-LCHlch(56.24, 82.61, 310.23°)
OKLaboklab(64.55% 0.1069 -0.1787)
OKLCHoklch(64.55% 0.208 300.9)
XYZxyz(36.8990, 24.1557, 89.8894)
Luminance0.2416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A566F6 #B7F666
analogous
#666FF6 #A566F6 #ED66F6
triadic
#A566F6 #F6A566 #66F6A5
tetradic
#A566F6 #F6666F #B7F666 #66F6ED
square
#A566F6 #F6666F #B7F666 #66F6ED
split-complementary
#A566F6 #F6ED66 #6FF666
monochromatic
#640DD5 #832CF3 #A566F6 #C7A0F9 #E9DAFD

Accessibility & contrast

On white

3.60
#A566F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#A566F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A566F6
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A566F6#FFFFFF#000000##000000
##A566F61.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1786FB
Deuteranopia (green-blind)
#3A86F3
Tritanopia (blue-blind)
#9484A4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a566f6;
/* rgb */ color: rgb(165, 102, 246);
/* oklch */ color: oklch(64.6% 0.208 300.9);
Tailwind
colors: {
  custom: {
    50: '#c494fa',
    500: '#a566f6',
    950: '#000000',
  },
}
SCSS
$custom: #a566f6;
$custom-light: #c494fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a566f6",
  "rgb": {
    "r": 165,
    "g": 102,
    "b": 246
  },
  "hsl": {
    "h": 266.25,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64552,
    "c": 0.20827,
    "h": 300.9
  },
  "luminance": 0.24156
}

Semantic roles & 50–950 ramp

primary
#A566F6
secondary
#DFF2C6
accent
#E60081
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A566F6

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

Preview Lab → · Contrast checker → · Palette generator →

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