#A56EEB#A56EEB

#A56EEB is a light, vivid violet. Relative luminance 0.251; OKLCH L 65.1% C 0.184 H 301.8°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A56EEB
RGBrgb(165, 110, 235)
HSLhsl(266, 76%, 68%)
HSVhsv(266, 53%, 92%)
CMYKcmyk(29.8%, 53.2%, 0%, 7.8%)
CIE-LABlab(57.22, 46.44, -55.37)
CIE-LCHlch(57.22, 72.27, 309.99°)
OKLaboklab(65.06% 0.097 -0.1562)
OKLCHoklch(65.06% 0.184 301.8)
XYZxyz(36.0849, 25.1493, 81.5344)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56EEB #B4EB6E
analogous
#6E75EB #A56EEB #E46EEB
triadic
#A56EEB #EBA56E #6EEBA5
tetradic
#A56EEB #EB6E75 #B4EB6E #6EEBE4
square
#A56EEB #EB6E75 #B4EB6E #6EEBE4
split-complementary
#A56EEB #EBE46E #75EB6E
monochromatic
#651BC4 #8438E4 #A56EEB #C6A4F2 #E8DAFA

Accessibility & contrast

On white

3.48
#A56EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#A56EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56EEB
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56EEB#FFFFFF#000000##000000
##A56EEB1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4088EF
Deuteranopia (green-blind)
#5189E8
Tritanopia (blue-blind)
#9886A2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a56eeb;
/* rgb */ color: rgb(165, 110, 235);
/* oklch */ color: oklch(65.1% 0.184 301.8);
Tailwind
colors: {
  custom: {
    50: '#c399f2',
    500: '#a56eeb',
    950: '#000000',
  },
}
SCSS
$custom: #a56eeb;
$custom-light: #c399f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a56eeb",
  "rgb": {
    "r": 165,
    "g": 110,
    "b": 235
  },
  "hsl": {
    "h": 266.4,
    "s": 75.758,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65063,
    "c": 0.18384,
    "h": 301.8
  },
  "luminance": 0.25149
}

Semantic roles & 50–950 ramp

primary
#A56EEB
secondary
#DDEEC7
accent
#D80E7F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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