#A56CF6#A56CF6

#A56CF6 is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.4% C 0.200 H 300.0°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A56CF6
RGBrgb(165, 108, 246)
HSLhsl(265, 88%, 69%)
HSVhsv(265, 56%, 96%)
CMYKcmyk(32.9%, 56.1%, 0%, 3.5%)
CIE-LABlab(57.44, 50.19, -61.14)
CIE-LCHlch(57.44, 79.10, 309.39°)
OKLaboklab(65.43% 0.0998 -0.1731)
OKLCHoklch(65.43% 0.2 300)
XYZxyz(37.5102, 25.3780, 90.0932)
Luminance0.2538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56CF6 #BDF66C
analogous
#6C78F6 #A56CF6 #EA6CF6
triadic
#A56CF6 #F6A56C #6CF6A5
tetradic
#A56CF6 #F66C78 #BDF66C #6CF6EA
square
#A56CF6 #F66C78 #BDF66C #6CF6EA
split-complementary
#A56CF6 #F6EA6C #78F66C
monochromatic
#620DDA #8232F2 #A56CF6 #C8A6FA #ECDFFD

Accessibility & contrast

On white

3.46
#A56CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#A56CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56CF6
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56CF6#FFFFFF#000000##000000
##A56CF61.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8AFB
Deuteranopia (green-blind)
#4489F3
Tritanopia (blue-blind)
#9488A7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a56cf6;
/* rgb */ color: rgb(165, 108, 246);
/* oklch */ color: oklch(65.4% 0.200 300.0);
Tailwind
colors: {
  custom: {
    50: '#c498fa',
    500: '#a56cf6',
    950: '#000000',
  },
}
SCSS
$custom: #a56cf6;
$custom-light: #c498fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a56cf6",
  "rgb": {
    "r": 165,
    "g": 108,
    "b": 246
  },
  "hsl": {
    "h": 264.783,
    "s": 88.462,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6543,
    "c": 0.19979,
    "h": 300
  },
  "luminance": 0.25378
}

Semantic roles & 50–950 ramp

primary
#A56CF6
secondary
#E2F3CB
accent
#E50087
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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