#A56AFC#A56AFC

#A56AFC is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.5% C 0.210 H 299.2°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A56AFC
RGBrgb(165, 106, 252)
HSLhsl(264, 96%, 70%)
HSVhsv(264, 58%, 99%)
CMYKcmyk(34.5%, 57.9%, 0%, 1.2%)
CIE-LABlab(57.40, 52.73, -64.53)
CIE-LCHlch(57.40, 83.33, 309.25°)
OKLaboklab(65.52% 0.1021 -0.183)
OKLCHoklch(65.52% 0.21 299.2)
XYZxyz(38.2375, 25.3353, 94.9523)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56AFC #C1FC6A
analogous
#6A78FC #A56AFC #EE6AFC
triadic
#A56AFC #FCA56A #6AFCA5
tetradic
#A56AFC #FC6A78 #C1FC6A #6AFCEE
square
#A56AFC #FC6A78 #C1FC6A #6AFCEE
split-complementary
#A56AFC #FCEE6A #78FC6A
monochromatic
#6005E7 #812EFB #A56AFC #C9A6FD #EDE1FE

Accessibility & contrast

On white

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

On black

6.07
#A56AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56AFC
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56AFC#FFFFFF#000000##000000
##A56AFC1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#198AFF
Deuteranopia (green-blind)
#3989F9
Tritanopia (blue-blind)
#9289A9
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a56afc;
/* rgb */ color: rgb(165, 106, 252);
/* oklch */ color: oklch(65.5% 0.210 299.2);
Tailwind
colors: {
  custom: {
    50: '#c497fe',
    500: '#a56afc',
    950: '#000000',
  },
}
SCSS
$custom: #a56afc;
$custom-light: #c497fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a56afc",
  "rgb": {
    "r": 165,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 264.247,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65516,
    "c": 0.2096,
    "h": 299.2
  },
  "luminance": 0.25336
}

Semantic roles & 50–950 ramp

primary
#A56AFC
secondary
#E5F5CD
accent
#E60089
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A56AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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