#A56EF0#A56EF0

#A56EF0 is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.4% C 0.190 H 300.8°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A56EF0
RGBrgb(165, 110, 240)
HSLhsl(265, 81%, 69%)
HSVhsv(265, 54%, 94%)
CMYKcmyk(31.2%, 54.2%, 0%, 5.9%)
CIE-LABlab(57.50, 47.65, -57.71)
CIE-LCHlch(57.50, 74.84, 309.55°)
OKLaboklab(65.36% 0.0972 -0.163)
OKLCHoklch(65.36% 0.19 300.8)
XYZxyz(36.8175, 25.4423, 85.3924)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56EF0 #B9F06E
analogous
#6E78F0 #A56EF0 #E66EF0
triadic
#A56EF0 #F0A56E #6EF0A5
tetradic
#A56EF0 #F06E78 #B9F06E #6EF0E6
square
#A56EF0 #F06E78 #B9F06E #6EF0E6
split-complementary
#A56EF0 #F0E66E #78F06E
monochromatic
#6415CE #8337EA #A56EF0 #C7A5F6 #EADDFB

Accessibility & contrast

On white

3.45
#A56EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#A56EF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56EF0
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56EF0#FFFFFF#000000##000000
##A56EF01.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A89F4
Deuteranopia (green-blind)
#4D89ED
Tritanopia (blue-blind)
#9688A5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a56ef0;
/* rgb */ color: rgb(165, 110, 240);
/* oklch */ color: oklch(65.4% 0.190 300.8);
Tailwind
colors: {
  custom: {
    50: '#c399f6',
    500: '#a56ef0',
    950: '#000000',
  },
}
SCSS
$custom: #a56ef0;
$custom-light: #c399f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a56ef0",
  "rgb": {
    "r": 165,
    "g": 110,
    "b": 240
  },
  "hsl": {
    "h": 265.385,
    "s": 81.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65364,
    "c": 0.1898,
    "h": 300.8
  },
  "luminance": 0.25442
}

Semantic roles & 50–950 ramp

primary
#A56EF0
secondary
#E0F0CA
accent
#DE0883
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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