#A56FF0#A56FF0

#A56FF0 is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.5% C 0.188 H 300.6°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A56FF0
RGBrgb(165, 111, 240)
HSLhsl(265, 81%, 69%)
HSVhsv(265, 54%, 94%)
CMYKcmyk(31.2%, 53.8%, 0%, 5.9%)
CIE-LABlab(57.71, 47.11, -57.37)
CIE-LCHlch(57.71, 74.24, 309.39°)
OKLaboklab(65.52% 0.0959 -0.162)
OKLCHoklch(65.52% 0.188 300.6)
XYZxyz(36.9260, 25.6593, 85.4285)
Luminance0.2566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56FF0 #BAF06F
analogous
#6F7AF0 #A56FF0 #E56FF0
triadic
#A56FF0 #F0A56F #6FF0A5
tetradic
#A56FF0 #F06F7A #BAF06F #6FF0E5
square
#A56FF0 #F06F7A #BAF06F #6FF0E5
split-complementary
#A56FF0 #F0E56F #7AF06F
monochromatic
#6316CF #8238EA #A56FF0 #C8A6F6 #EADEFC

Accessibility & contrast

On white

3.42
#A56FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#A56FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56FF0
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56FF0#FFFFFF#000000##000000
##A56FF01.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8AF4
Deuteranopia (green-blind)
#4E8AED
Tritanopia (blue-blind)
#9688A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a56ff0;
/* rgb */ color: rgb(165, 111, 240);
/* oklch */ color: oklch(65.5% 0.188 300.6);
Tailwind
colors: {
  custom: {
    50: '#c39af5',
    500: '#a56ff0',
    950: '#000000',
  },
}
SCSS
$custom: #a56ff0;
$custom-light: #c39af5;
$custom-dark: #000000;
JSON
{
  "hex": "#a56ff0",
  "rgb": {
    "r": 165,
    "g": 111,
    "b": 240
  },
  "hsl": {
    "h": 265.116,
    "s": 81.132,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65517,
    "c": 0.18832,
    "h": 300.6
  },
  "luminance": 0.25659
}

Semantic roles & 50–950 ramp

primary
#A56FF0
secondary
#E1F0CA
accent
#DD0884
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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