#A56CF7#A56CF7

#A56CF7 is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.5% C 0.201 H 299.8°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A56CF7
RGBrgb(165, 108, 247)
HSLhsl(265, 90%, 70%)
HSVhsv(265, 56%, 97%)
CMYKcmyk(33.2%, 56.3%, 0%, 3.1%)
CIE-LABlab(57.50, 50.44, -61.60)
CIE-LCHlch(57.50, 79.61, 309.31°)
OKLaboklab(65.49% 0.0998 -0.1744)
OKLCHoklch(65.49% 0.201 299.8)
XYZxyz(37.6641, 25.4396, 90.9037)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56CF7 #BEF76C
analogous
#6C79F7 #A56CF7 #EA6CF7
triadic
#A56CF7 #F7A56C #6CF7A5
tetradic
#A56CF7 #F76C79 #BEF76C #6CF7EA
square
#A56CF7 #F76C79 #BEF76C #6CF7EA
split-complementary
#A56CF7 #F7EA6C #79F76C
monochromatic
#620CDD #8132F4 #A56CF7 #C9A6FA #ECE0FD

Accessibility & contrast

On white

3.45
#A56CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#A56CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56CF7
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56CF7#FFFFFF#000000##000000
##A56CF71.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8AFC
Deuteranopia (green-blind)
#4289F4
Tritanopia (blue-blind)
#9488A7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a56cf7;
/* rgb */ color: rgb(165, 108, 247);
/* oklch */ color: oklch(65.5% 0.201 299.8);
Tailwind
colors: {
  custom: {
    50: '#c498fb',
    500: '#a56cf7',
    950: '#000000',
  },
}
SCSS
$custom: #a56cf7;
$custom-light: #c498fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a56cf7",
  "rgb": {
    "r": 165,
    "g": 108,
    "b": 247
  },
  "hsl": {
    "h": 264.604,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65493,
    "c": 0.20097,
    "h": 299.8
  },
  "luminance": 0.2544
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A56CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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