#A56EE8#A56EE8

#A56EE8 is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.9% C 0.180 H 302.5°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A56EE8
RGBrgb(165, 110, 232)
HSLhsl(267, 73%, 67%)
HSVhsv(267, 53%, 91%)
CMYKcmyk(28.9%, 52.6%, 0%, 9%)
CIE-LABlab(57.05, 45.72, -53.97)
CIE-LCHlch(57.05, 70.73, 310.27°)
OKLaboklab(64.89% 0.0968 -0.1521)
OKLCHoklch(64.89% 0.18 302.5)
XYZxyz(35.6552, 24.9774, 79.2710)
Luminance0.2498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56EE8 #B1E86E
analogous
#6E74E8 #A56EE8 #E26EE8
triadic
#A56EE8 #E8A56E #6EE8A5
tetradic
#A56EE8 #E86E74 #B1E86E #6EE8E2
square
#A56EE8 #E86E74 #B1E86E #6EE8E2
split-complementary
#A56EE8 #E8E26E #74E86E
monochromatic
#661EBE #8439E0 #A56EE8 #C6A3F0 #E7D8F9

Accessibility & contrast

On white

3.50
#A56EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#A56EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56EE8
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56EE8#FFFFFF#000000##000000
##A56EE81.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4388EC
Deuteranopia (green-blind)
#5489E5
Tritanopia (blue-blind)
#9885A1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a56ee8;
/* rgb */ color: rgb(165, 110, 232);
/* oklch */ color: oklch(64.9% 0.180 302.5);
Tailwind
colors: {
  custom: {
    50: '#c399f0',
    500: '#a56ee8',
    950: '#000000',
  },
}
SCSS
$custom: #a56ee8;
$custom-light: #c399f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a56ee8",
  "rgb": {
    "r": 165,
    "g": 110,
    "b": 232
  },
  "hsl": {
    "h": 267.049,
    "s": 72.619,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64886,
    "c": 0.18027,
    "h": 302.5
  },
  "luminance": 0.24977
}

Semantic roles & 50–950 ramp

primary
#A56EE8
secondary
#DBECC6
accent
#D5117C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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