#A56EEF#A56EEF

#A56EEF is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.3% C 0.189 H 301.0°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A56EEF
RGBrgb(165, 110, 239)
HSLhsl(266, 80%, 68%)
HSVhsv(266, 54%, 94%)
CMYKcmyk(31%, 54%, 0%, 6.3%)
CIE-LABlab(57.45, 47.41, -57.24)
CIE-LCHlch(57.45, 74.33, 309.63°)
OKLaboklab(65.3% 0.0972 -0.1617)
OKLCHoklch(65.3% 0.189 301)
XYZxyz(36.6693, 25.3830, 84.6122)
Luminance0.2538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56EEF #B8EF6E
analogous
#6E77EF #A56EEF #E56EEF
triadic
#A56EEF #EFA56E #6EEFA5
tetradic
#A56EEF #EF6E77 #B8EF6E #6EEFE5
square
#A56EEF #EF6E77 #B8EF6E #6EEFE5
split-complementary
#A56EEF #EFE56E #77EF6E
monochromatic
#6417CC #8337E9 #A56EEF #C7A5F5 #E9DCFB

Accessibility & contrast

On white

3.46
#A56EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#A56EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56EEF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56EEF#FFFFFF#000000##000000
##A56EEF1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C89F3
Deuteranopia (green-blind)
#4E89EC
Tritanopia (blue-blind)
#9687A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a56eef;
/* rgb */ color: rgb(165, 110, 239);
/* oklch */ color: oklch(65.3% 0.189 301.0);
Tailwind
colors: {
  custom: {
    50: '#c399f5',
    500: '#a56eef',
    950: '#000000',
  },
}
SCSS
$custom: #a56eef;
$custom-light: #c399f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a56eef",
  "rgb": {
    "r": 165,
    "g": 110,
    "b": 239
  },
  "hsl": {
    "h": 265.581,
    "s": 80.124,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65303,
    "c": 0.18861,
    "h": 301
  },
  "luminance": 0.25383
}

Semantic roles & 50–950 ramp

primary
#A56EEF
secondary
#DFF0C9
accent
#DC0982
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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