#A566F5#A566F5

#A566F5 is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.5% C 0.207 H 301.1°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#A566F5
RGBrgb(165, 102, 245)
HSLhsl(266, 88%, 68%)
HSVhsv(266, 58%, 96%)
CMYKcmyk(32.7%, 58.4%, 0%, 3.9%)
CIE-LABlab(56.18, 53.11, -62.61)
CIE-LCHlch(56.18, 82.10, 310.31°)
OKLaboklab(64.49% 0.1069 -0.1774)
OKLCHoklch(64.49% 0.207 301.1)
XYZxyz(36.7459, 24.0945, 89.0833)
Luminance0.2409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A566F5 #B6F566
analogous
#666EF5 #A566F5 #ED66F5
triadic
#A566F5 #F5A566 #66F5A5
tetradic
#A566F5 #F5666E #B6F566 #66F5ED
square
#A566F5 #F5666E #B6F566 #66F5ED
split-complementary
#A566F5 #F5ED66 #6EF566
monochromatic
#650ED3 #832DF1 #A566F5 #C79FF9 #E9D9FD

Accessibility & contrast

On white

3.61
#A566F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#A566F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A566F5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A566F5#FFFFFF#000000##000000
##A566F51.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A86FA
Deuteranopia (green-blind)
#3B86F2
Tritanopia (blue-blind)
#9584A4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a566f5;
/* rgb */ color: rgb(165, 102, 245);
/* oklch */ color: oklch(64.5% 0.207 301.1);
Tailwind
colors: {
  custom: {
    50: '#c494f9',
    500: '#a566f5',
    950: '#000000',
  },
}
SCSS
$custom: #a566f5;
$custom-light: #c494f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a566f5",
  "rgb": {
    "r": 165,
    "g": 102,
    "b": 245
  },
  "hsl": {
    "h": 266.434,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64488,
    "c": 0.20713,
    "h": 301.1
  },
  "luminance": 0.24095
}

Semantic roles & 50–950 ramp

primary
#A566F5
secondary
#DEF1C6
accent
#E40180
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A566F5

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

Preview Lab → · Contrast checker → · Palette generator →

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