#A56AFB#A56AFB

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

Color values

HEX#A56AFB
RGBrgb(165, 106, 251)
HSLhsl(264, 95%, 70%)
HSVhsv(264, 58%, 98%)
CMYKcmyk(34.3%, 57.8%, 0%, 1.6%)
CIE-LABlab(57.34, 52.48, -64.07)
CIE-LCHlch(57.34, 82.82, 309.32°)
OKLaboklab(65.45% 0.1022 -0.1817)
OKLCHoklch(65.45% 0.208 299.3)
XYZxyz(38.0794, 25.2721, 94.1199)
Luminance0.2527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56AFB #C0FB6A
analogous
#6A77FB #A56AFB #EE6AFB
triadic
#A56AFB #FBA56A #6AFBA5
tetradic
#A56AFB #FB6A77 #C0FB6A #6AFBEE
square
#A56AFB #FB6A77 #C0FB6A #6AFBEE
split-complementary
#A56AFB #FBEE6A #77FB6A
monochromatic
#6106E4 #812EF9 #A56AFB #C9A6FD #EDE1FE

Accessibility & contrast

On white

3.47
#A56AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#A56AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56AFB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56AFB#FFFFFF#000000##000000
##A56AFB1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C89FF
Deuteranopia (green-blind)
#3A88F8
Tritanopia (blue-blind)
#9288A9
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a56afb;
/* rgb */ color: rgb(165, 106, 251);
/* oklch */ color: oklch(65.5% 0.208 299.3);
Tailwind
colors: {
  custom: {
    50: '#c497fd',
    500: '#a56afb',
    950: '#000000',
  },
}
SCSS
$custom: #a56afb;
$custom-light: #c497fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a56afb",
  "rgb": {
    "r": 165,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 264.414,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.65452,
    "c": 0.20845,
    "h": 299.3
  },
  "luminance": 0.25272
}

Semantic roles & 50–950 ramp

primary
#A56AFB
secondary
#E4F5CC
accent
#E60088
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A56AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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