#A566F2#A566F2

#A566F2 is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.3% C 0.204 H 301.7°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A566F2
RGBrgb(165, 102, 242)
HSLhsl(267, 84%, 67%)
HSVhsv(267, 58%, 95%)
CMYKcmyk(31.8%, 57.9%, 0%, 5.1%)
CIE-LABlab(56.00, 52.39, -61.23)
CIE-LCHlch(56.00, 80.58, 310.55°)
OKLaboklab(64.3% 0.107 -0.1733)
OKLCHoklch(64.3% 0.204 301.7)
XYZxyz(36.2917, 23.9128, 86.6908)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A566F2 #B3F266
analogous
#666DF2 #A566F2 #EB66F2
triadic
#A566F2 #F2A566 #66F2A5
tetradic
#A566F2 #F2666D #B3F266 #66F2EB
square
#A566F2 #F2666D #B3F266 #66F2EB
split-complementary
#A566F2 #F2EB66 #6DF266
monochromatic
#6511CC #842EED #A566F2 #C69EF7 #E7D7FC

Accessibility & contrast

On white

3.63
#A566F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#A566F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A566F2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A566F2#FFFFFF#000000##000000
##A566F21.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2185F7
Deuteranopia (green-blind)
#3F86EF
Tritanopia (blue-blind)
#9683A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a566f2;
/* rgb */ color: rgb(165, 102, 242);
/* oklch */ color: oklch(64.3% 0.204 301.7);
Tailwind
colors: {
  custom: {
    50: '#c494f7',
    500: '#a566f2',
    950: '#000000',
  },
}
SCSS
$custom: #a566f2;
$custom-light: #c494f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a566f2",
  "rgb": {
    "r": 165,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 267,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.64297,
    "c": 0.2037,
    "h": 301.7
  },
  "luminance": 0.23913
}

Semantic roles & 50–950 ramp

primary
#A566F2
secondary
#DCF0C4
accent
#E1057E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A566F2

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

Preview Lab → · Contrast checker → · Palette generator →

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