#A56FF4#A56FF4

#A56FF4 is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.8% C 0.193 H 299.8°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A56FF4
RGBrgb(165, 111, 244)
HSLhsl(264, 86%, 70%)
HSVhsv(264, 55%, 96%)
CMYKcmyk(32.4%, 54.5%, 0%, 4.3%)
CIE-LABlab(57.94, 48.09, -59.23)
CIE-LCHlch(57.94, 76.29, 309.08°)
OKLaboklab(65.76% 0.0961 -0.1675)
OKLCHoklch(65.76% 0.193 299.8)
XYZxyz(37.5267, 25.8996, 88.5925)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56FF4 #BEF46F
analogous
#6F7CF4 #A56FF4 #E86FF4
triadic
#A56FF4 #F4A56F #6FF4A5
tetradic
#A56FF4 #F46F7C #BEF46F #6FF4E8
square
#A56FF4 #F46F7C #BEF46F #6FF4E8
split-complementary
#A56FF4 #F4E86F #7CF46F
monochromatic
#6211D8 #8136F0 #A56FF4 #C9A8F8 #ECE1FD

Accessibility & contrast

On white

3.40
#A56FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#A56FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56FF4
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56FF4#FFFFFF#000000##000000
##A56FF41.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#388BF8
Deuteranopia (green-blind)
#4A8AF1
Tritanopia (blue-blind)
#9589A7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a56ff4;
/* rgb */ color: rgb(165, 111, 244);
/* oklch */ color: oklch(65.8% 0.193 299.8);
Tailwind
colors: {
  custom: {
    50: '#c49af8',
    500: '#a56ff4',
    950: '#000000',
  },
}
SCSS
$custom: #a56ff4;
$custom-light: #c49af8;
$custom-dark: #000000;
JSON
{
  "hex": "#a56ff4",
  "rgb": {
    "r": 165,
    "g": 111,
    "b": 244
  },
  "hsl": {
    "h": 264.361,
    "s": 85.806,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6576,
    "c": 0.1931,
    "h": 299.8
  },
  "luminance": 0.259
}

Semantic roles & 50–950 ramp

primary
#A56FF4
secondary
#E3F2CC
accent
#E20388
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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