#A56AF9#A56AF9

#A56AF9 is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.3% C 0.206 H 299.7°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A56AF9
RGBrgb(165, 106, 249)
HSLhsl(265, 92%, 70%)
HSVhsv(265, 57%, 98%)
CMYKcmyk(33.7%, 57.4%, 0%, 2.4%)
CIE-LABlab(57.22, 51.99, -63.16)
CIE-LCHlch(57.22, 81.80, 309.46°)
OKLaboklab(65.32% 0.1022 -0.179)
OKLCHoklch(65.32% 0.206 299.7)
XYZxyz(37.7658, 25.1466, 92.4683)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56AF9 #BEF96A
analogous
#6A77F9 #A56AF9 #EC6AF9
triadic
#A56AF9 #F9A56A #6AF9A5
tetradic
#A56AF9 #F96A77 #BEF96A #6AF9EC
square
#A56AF9 #F96A77 #BEF96A #6AF9EC
split-complementary
#A56AF9 #F9EC6A #77F96A
monochromatic
#6209E0 #812FF7 #A56AF9 #C9A5FB #ECE0FE

Accessibility & contrast

On white

3.48
#A56AF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#A56AF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56AF9
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56AF9#FFFFFF#000000##000000
##A56AF91.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2189FE
Deuteranopia (green-blind)
#3D88F6
Tritanopia (blue-blind)
#9388A8
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a56af9;
/* rgb */ color: rgb(165, 106, 249);
/* oklch */ color: oklch(65.3% 0.206 299.7);
Tailwind
colors: {
  custom: {
    50: '#c497fc',
    500: '#a56af9',
    950: '#000000',
  },
}
SCSS
$custom: #a56af9;
$custom-light: #c497fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a56af9",
  "rgb": {
    "r": 165,
    "g": 106,
    "b": 249
  },
  "hsl": {
    "h": 264.755,
    "s": 92.258,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65324,
    "c": 0.20612,
    "h": 299.7
  },
  "luminance": 0.25147
}

Semantic roles & 50–950 ramp

primary
#A56AF9
secondary
#E3F4CB
accent
#E60087
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A56AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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