#A56BF8#A56BF8

#A56BF8 is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.4% C 0.204 H 299.7°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A56BF8
RGBrgb(165, 107, 248)
HSLhsl(265, 91%, 70%)
HSVhsv(265, 57%, 97%)
CMYKcmyk(33.5%, 56.9%, 0%, 2.7%)
CIE-LABlab(57.36, 51.22, -62.38)
CIE-LCHlch(57.36, 80.71, 309.39°)
OKLaboklab(65.41% 0.101 -0.1767)
OKLCHoklch(65.41% 0.204 299.7)
XYZxyz(37.7139, 25.2917, 91.6836)
Luminance0.2529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56BF8 #BEF86B
analogous
#6B78F8 #A56BF8 #EC6BF8
triadic
#A56BF8 #F8A56B #6BF8A5
tetradic
#A56BF8 #F86B78 #BEF86B #6BF8EC
square
#A56BF8 #F86B78 #BEF86B #6BF8EC
split-complementary
#A56BF8 #F8EC6B #78F86B
monochromatic
#620BDE #8131F5 #A56BF8 #C9A5FB #ECE0FE

Accessibility & contrast

On white

3.47
#A56BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#A56BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56BF8
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56BF8#FFFFFF#000000##000000
##A56BF81.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2689FD
Deuteranopia (green-blind)
#4089F5
Tritanopia (blue-blind)
#9388A7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a56bf8;
/* rgb */ color: rgb(165, 107, 248);
/* oklch */ color: oklch(65.4% 0.204 299.7);
Tailwind
colors: {
  custom: {
    50: '#c497fb',
    500: '#a56bf8',
    950: '#000000',
  },
}
SCSS
$custom: #a56bf8;
$custom-light: #c497fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a56bf8",
  "rgb": {
    "r": 165,
    "g": 107,
    "b": 248
  },
  "hsl": {
    "h": 264.681,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65407,
    "c": 0.20355,
    "h": 299.7
  },
  "luminance": 0.25292
}

Semantic roles & 50–950 ramp

primary
#A56BF8
secondary
#E3F4CB
accent
#E60087
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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