#A56AF2#A56AF2

#A56AF2 is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.9% C 0.198 H 301.1°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A56AF2
RGBrgb(165, 106, 242)
HSLhsl(266, 84%, 68%)
HSVhsv(266, 56%, 95%)
CMYKcmyk(31.8%, 56.2%, 0%, 5.1%)
CIE-LABlab(56.80, 50.28, -59.95)
CIE-LCHlch(56.80, 78.24, 309.99°)
OKLaboklab(64.88% 0.1022 -0.1696)
OKLCHoklch(64.88% 0.198 301.1)
XYZxyz(36.6943, 24.7180, 86.8251)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56AF2 #B7F26A
analogous
#6A73F2 #A56AF2 #E96AF2
triadic
#A56AF2 #F2A56A #6AF2A5
tetradic
#A56AF2 #F26A73 #B7F26A #6AF2E9
square
#A56AF2 #F26A73 #B7F26A #6AF2E9
split-complementary
#A56AF2 #F2E96A #73F26A
monochromatic
#6412CF #8332ED #A56AF2 #C7A2F7 #E9DBFC

Accessibility & contrast

On white

3.53
#A56AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#A56AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56AF2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56AF2#FFFFFF#000000##000000
##A56AF21.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E88F6
Deuteranopia (green-blind)
#4588EF
Tritanopia (blue-blind)
#9585A4
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a56af2;
/* rgb */ color: rgb(165, 106, 242);
/* oklch */ color: oklch(64.9% 0.198 301.1);
Tailwind
colors: {
  custom: {
    50: '#c497f7',
    500: '#a56af2',
    950: '#000000',
  },
}
SCSS
$custom: #a56af2;
$custom-light: #c497f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a56af2",
  "rgb": {
    "r": 165,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 266.029,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64883,
    "c": 0.19798,
    "h": 301.1
  },
  "luminance": 0.24718
}

Semantic roles & 50–950 ramp

primary
#A56AF2
secondary
#DFF1C7
accent
#E00581
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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