#A56AF7#A56AF7

#A56AF7 is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.2% C 0.204 H 300.1°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A56AF7
RGBrgb(165, 106, 247)
HSLhsl(265, 90%, 69%)
HSVhsv(265, 57%, 97%)
CMYKcmyk(33.2%, 57.1%, 0%, 3.1%)
CIE-LABlab(57.10, 51.50, -62.25)
CIE-LCHlch(57.10, 80.79, 309.60°)
OKLaboklab(65.2% 0.1022 -0.1763)
OKLCHoklch(65.2% 0.204 300.1)
XYZxyz(37.4555, 25.0225, 90.8342)
Luminance0.2502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56AF7 #BCF76A
analogous
#6A76F7 #A56AF7 #EB6AF7
triadic
#A56AF7 #F7A56A #6AF7A5
tetradic
#A56AF7 #F76A76 #BCF76A #6AF7EB
square
#A56AF7 #F76A76 #BCF76A #6AF7EB
split-complementary
#A56AF7 #F7EB6A #76F76A
monochromatic
#620CDB #8230F4 #A56AF7 #C8A4FA #EBDEFD

Accessibility & contrast

On white

3.50
#A56AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#A56AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56AF7
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56AF7#FFFFFF#000000##000000
##A56AF71.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2589FC
Deuteranopia (green-blind)
#3F88F4
Tritanopia (blue-blind)
#9487A7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a56af7;
/* rgb */ color: rgb(165, 106, 247);
/* oklch */ color: oklch(65.2% 0.204 300.1);
Tailwind
colors: {
  custom: {
    50: '#c497fb',
    500: '#a56af7',
    950: '#000000',
  },
}
SCSS
$custom: #a56af7;
$custom-light: #c497fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a56af7",
  "rgb": {
    "r": 165,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 265.106,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65197,
    "c": 0.20381,
    "h": 300.1
  },
  "luminance": 0.25023
}

Semantic roles & 50–950 ramp

primary
#A56AF7
secondary
#E2F3CA
accent
#E60085
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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