#A56CF8#A56CF8

#A56CF8 is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 65.6% C 0.202 H 299.6°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#A56CF8
RGBrgb(165, 108, 248)
HSLhsl(264, 91%, 70%)
HSVhsv(264, 56%, 97%)
CMYKcmyk(33.5%, 56.5%, 0%, 2.7%)
CIE-LABlab(57.56, 50.68, -62.06)
CIE-LCHlch(57.56, 80.12, 309.24°)
OKLaboklab(65.56% 0.0998 -0.1758)
OKLCHoklch(65.56% 0.202 299.6)
XYZxyz(37.8188, 25.5014, 91.7186)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56CF8 #BFF86C
analogous
#6C79F8 #A56CF8 #EB6CF8
triadic
#A56CF8 #F8A56C #6CF8A5
tetradic
#A56CF8 #F86C79 #BFF86C #6CF8EB
square
#A56CF8 #F86C79 #BFF86C #6CF8EB
split-complementary
#A56CF8 #F8EB6C #79F86C
monochromatic
#610BDF #8132F5 #A56CF8 #C9A6FB #EDE1FE

Accessibility & contrast

On white

3.44
#A56CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#A56CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56CF8
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56CF8#FFFFFF#000000##000000
##A56CF81.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A8AFD
Deuteranopia (green-blind)
#4189F5
Tritanopia (blue-blind)
#9389A8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a56cf8;
/* rgb */ color: rgb(165, 108, 248);
/* oklch */ color: oklch(65.6% 0.202 299.6);
Tailwind
colors: {
  custom: {
    50: '#c498fb',
    500: '#a56cf8',
    950: '#000000',
  },
}
SCSS
$custom: #a56cf8;
$custom-light: #c498fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a56cf8",
  "rgb": {
    "r": 165,
    "g": 108,
    "b": 248
  },
  "hsl": {
    "h": 264.429,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.65556,
    "c": 0.20214,
    "h": 299.6
  },
  "luminance": 0.25502
}

Semantic roles & 50–950 ramp

primary
#A56CF8
secondary
#E4F4CC
accent
#E60088
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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