#A566F0#A566F0

#A566F0 is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.2% C 0.201 H 302.1°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#A566F0
RGBrgb(165, 102, 240)
HSLhsl(267, 82%, 67%)
HSVhsv(267, 58%, 94%)
CMYKcmyk(31.2%, 57.5%, 0%, 5.9%)
CIE-LABlab(55.88, 51.91, -60.31)
CIE-LCHlch(55.88, 79.57, 310.72°)
OKLaboklab(64.17% 0.107 -0.1706)
OKLCHoklch(64.17% 0.201 302.1)
XYZxyz(35.9930, 23.7933, 85.1175)
Luminance0.2379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A566F0 #B1F066
analogous
#666CF0 #A566F0 #EA66F0
triadic
#A566F0 #F0A566 #66F0A5
tetradic
#A566F0 #F0666C #B1F066 #66F0EA
square
#A566F0 #F0666C #B1F066 #66F0EA
split-complementary
#A566F0 #F0EA66 #6CF066
monochromatic
#6614C8 #842EEB #A566F0 #C69EF5 #E7D5FB

Accessibility & contrast

On white

3.65
#A566F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#A566F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A566F0
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A566F0#FFFFFF#000000##000000
##A566F01.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2585F4
Deuteranopia (green-blind)
#4285ED
Tritanopia (blue-blind)
#9682A1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a566f0;
/* rgb */ color: rgb(165, 102, 240);
/* oklch */ color: oklch(64.2% 0.201 302.1);
Tailwind
colors: {
  custom: {
    50: '#c494f6',
    500: '#a566f0',
    950: '#000000',
  },
}
SCSS
$custom: #a566f0;
$custom-light: #c494f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a566f0",
  "rgb": {
    "r": 165,
    "g": 102,
    "b": 240
  },
  "hsl": {
    "h": 267.391,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64171,
    "c": 0.2014,
    "h": 302.1
  },
  "luminance": 0.23793
}

Semantic roles & 50–950 ramp

primary
#A566F0
secondary
#DBEFC3
accent
#DF077C
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A566F0

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

Preview Lab → · Contrast checker → · Palette generator →

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