#A56CF4#A56CF4

#A56CF4 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.3% C 0.197 H 300.3°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#A56CF4
RGBrgb(165, 108, 244)
HSLhsl(265, 86%, 69%)
HSVhsv(265, 56%, 96%)
CMYKcmyk(32.4%, 55.7%, 0%, 4.3%)
CIE-LABlab(57.32, 49.70, -60.22)
CIE-LCHlch(57.32, 78.08, 309.54°)
OKLaboklab(65.31% 0.0998 -0.1704)
OKLCHoklch(65.31% 0.197 300.3)
XYZxyz(37.2049, 25.2559, 88.4852)
Luminance0.2526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56CF4 #BBF46C
analogous
#6C77F4 #A56CF4 #E96CF4
triadic
#A56CF4 #F4A56C #6CF4A5
tetradic
#A56CF4 #F46C77 #BBF46C #6CF4E9
square
#A56CF4 #F46C77 #BBF46C #6CF4E9
split-complementary
#A56CF4 #F4E96C #77F46C
monochromatic
#6310D6 #8233F0 #A56CF4 #C8A5F8 #EBDEFD

Accessibility & contrast

On white

3.47
#A56CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#A56CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56CF4
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56CF4#FFFFFF#000000##000000
##A56CF41.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3089F9
Deuteranopia (green-blind)
#4689F1
Tritanopia (blue-blind)
#9587A6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a56cf4;
/* rgb */ color: rgb(165, 108, 244);
/* oklch */ color: oklch(65.3% 0.197 300.3);
Tailwind
colors: {
  custom: {
    50: '#c498f8',
    500: '#a56cf4',
    950: '#000000',
  },
}
SCSS
$custom: #a56cf4;
$custom-light: #c498f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a56cf4",
  "rgb": {
    "r": 165,
    "g": 108,
    "b": 244
  },
  "hsl": {
    "h": 265.147,
    "s": 86.076,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65306,
    "c": 0.19744,
    "h": 300.3
  },
  "luminance": 0.25256
}

Semantic roles & 50–950 ramp

primary
#A56CF4
secondary
#E1F2CA
accent
#E30385
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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