#A56DF6#A56DF6

#A56DF6 is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.6% C 0.198 H 299.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A56DF6
RGBrgb(165, 109, 246)
HSLhsl(265, 88%, 70%)
HSVhsv(265, 56%, 96%)
CMYKcmyk(32.9%, 55.7%, 0%, 3.5%)
CIE-LABlab(57.65, 49.66, -60.81)
CIE-LCHlch(57.65, 78.51, 309.24°)
OKLaboklab(65.58% 0.0986 -0.1721)
OKLCHoklch(65.58% 0.198 299.8)
XYZxyz(37.6162, 25.5901, 90.1285)
Luminance0.2559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56DF6 #BEF66D
analogous
#6D79F6 #A56DF6 #EA6DF6
triadic
#A56DF6 #F6A56D #6DF6A5
tetradic
#A56DF6 #F66D79 #BEF66D #6DF6EA
square
#A56DF6 #F66D79 #BEF66D #6DF6EA
split-complementary
#A56DF6 #F6EA6D #79F66D
monochromatic
#620EDB #8133F2 #A56DF6 #C9A7FA #ECE0FD

Accessibility & contrast

On white

3.43
#A56DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#A56DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56DF6
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56DF6#FFFFFF#000000##000000
##A56DF61.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#308AFB
Deuteranopia (green-blind)
#4589F3
Tritanopia (blue-blind)
#9489A7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a56df6;
/* rgb */ color: rgb(165, 109, 246);
/* oklch */ color: oklch(65.6% 0.198 299.8);
Tailwind
colors: {
  custom: {
    50: '#c499fa',
    500: '#a56df6',
    950: '#000000',
  },
}
SCSS
$custom: #a56df6;
$custom-light: #c499fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a56df6",
  "rgb": {
    "r": 165,
    "g": 109,
    "b": 246
  },
  "hsl": {
    "h": 264.526,
    "s": 88.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6558,
    "c": 0.19836,
    "h": 299.8
  },
  "luminance": 0.2559
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A56DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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