#A566F9#A566F9

#A566F9 is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.7% C 0.212 H 300.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A566F9
RGBrgb(165, 102, 249)
HSLhsl(266, 92%, 69%)
HSVhsv(266, 59%, 98%)
CMYKcmyk(33.7%, 59%, 0%, 2.4%)
CIE-LABlab(56.43, 54.08, -64.43)
CIE-LCHlch(56.43, 84.12, 310.01°)
OKLaboklab(64.75% 0.1069 -0.1827)
OKLCHoklch(64.75% 0.212 300.3)
XYZxyz(37.3632, 24.3414, 92.3341)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A566F9 #BAF966
analogous
#6671F9 #A566F9 #EE66F9
triadic
#A566F9 #F9A566 #66F9A5
tetradic
#A566F9 #F96671 #BAF966 #66F9EE
square
#A566F9 #F96671 #BAF966 #66F9EE
split-complementary
#A566F9 #F9EE66 #71F966
monochromatic
#6309DC #822BF7 #A566F9 #C8A1FB #EADCFE

Accessibility & contrast

On white

3.58
#A566F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#A566F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A566F9
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A566F9#FFFFFF#000000##000000
##A566F91.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A87FE
Deuteranopia (green-blind)
#3686F6
Tritanopia (blue-blind)
#9385A6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a566f9;
/* rgb */ color: rgb(165, 102, 249);
/* oklch */ color: oklch(64.7% 0.212 300.3);
Tailwind
colors: {
  custom: {
    50: '#c494fc',
    500: '#a566f9',
    950: '#000000',
  },
}
SCSS
$custom: #a566f9;
$custom-light: #c494fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a566f9",
  "rgb": {
    "r": 165,
    "g": 102,
    "b": 249
  },
  "hsl": {
    "h": 265.714,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.64746,
    "c": 0.21169,
    "h": 300.3
  },
  "luminance": 0.24342
}

Semantic roles & 50–950 ramp

primary
#A566F9
secondary
#E1F3C8
accent
#E60083
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A566F9

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

Preview Lab → · Contrast checker → · Palette generator →

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