#A56EF8#A56EF8

#A56EF8 is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.9% C 0.199 H 299.3°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A56EF8
RGBrgb(165, 110, 248)
HSLhsl(264, 91%, 70%)
HSVhsv(264, 56%, 97%)
CMYKcmyk(33.5%, 55.6%, 0%, 2.7%)
CIE-LABlab(57.97, 49.61, -61.40)
CIE-LCHlch(57.97, 78.94, 308.94°)
OKLaboklab(65.86% 0.0974 -0.1739)
OKLCHoklch(65.86% 0.199 299.3)
XYZxyz(38.0321, 25.9282, 91.7897)
Luminance0.2593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56EF8 #C1F86E
analogous
#6E7CF8 #A56EF8 #EA6EF8
triadic
#A56EF8 #F8A56E #6EF8A5
tetradic
#A56EF8 #F86E7C #C1F86E #6EF8EA
square
#A56EF8 #F86E7C #C1F86E #6EF8EA
split-complementary
#A56EF8 #F8EA6E #7CF86E
monochromatic
#600BE1 #8134F5 #A56EF8 #C9A8FB #EDE2FE

Accessibility & contrast

On white

3.39
#A56EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#A56EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56EF8
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56EF8#FFFFFF#000000##000000
##A56EF81.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#308BFD
Deuteranopia (green-blind)
#448AF5
Tritanopia (blue-blind)
#938AA9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a56ef8;
/* rgb */ color: rgb(165, 110, 248);
/* oklch */ color: oklch(65.9% 0.199 299.3);
Tailwind
colors: {
  custom: {
    50: '#c499fb',
    500: '#a56ef8',
    950: '#000000',
  },
}
SCSS
$custom: #a56ef8;
$custom-light: #c499fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a56ef8",
  "rgb": {
    "r": 165,
    "g": 110,
    "b": 248
  },
  "hsl": {
    "h": 263.913,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65856,
    "c": 0.19928,
    "h": 299.3
  },
  "luminance": 0.25929
}

Semantic roles & 50–950 ramp

primary
#A56EF8
secondary
#E5F4CE
accent
#E6008A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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