#A56AFF#A56AFF

#A56AFF is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 65.7% C 0.213 H 298.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A56AFF
RGBrgb(165, 106, 255)
HSLhsl(264, 100%, 71%)
HSVhsv(264, 58%, 100%)
CMYKcmyk(35.3%, 58.4%, 0%, 0%)
CIE-LABlab(57.59, 53.47, -65.89)
CIE-LCHlch(57.59, 84.85, 309.06°)
OKLaboklab(65.71% 0.1021 -0.187)
OKLCHoklch(65.71% 0.213 298.6)
XYZxyz(38.7166, 25.5270, 97.4758)
Luminance0.2553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56AFF #C4FF6A
analogous
#6A79FF #A56AFF #EF6AFF
triadic
#A56AFF #FFA56A #6AFFA5
tetradic
#A56AFF #FF6A79 #C4FF6A #6AFFEF
square
#A56AFF #FF6A79 #C4FF6A #6AFFEF
split-complementary
#A56AFF #FFEF6A #79FF6A
monochromatic
#5E00EF #802DFF #A56AFF #CAA7FF #EDE0FF

Accessibility & contrast

On white

3.44
#A56AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#A56AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56AFF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56AFF#FFFFFF#000000##000000
##A56AFF1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D8AFF
Deuteranopia (green-blind)
#3489FC
Tritanopia (blue-blind)
#918AAB
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a56aff;
/* rgb */ color: rgb(165, 106, 255);
/* oklch */ color: oklch(65.7% 0.213 298.6);
Tailwind
colors: {
  custom: {
    50: '#c597ff',
    500: '#a56aff',
    950: '#000000',
  },
}
SCSS
$custom: #a56aff;
$custom-light: #c597ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a56aff",
  "rgb": {
    "r": 165,
    "g": 106,
    "b": 255
  },
  "hsl": {
    "h": 263.758,
    "s": 100,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6571,
    "c": 0.21307,
    "h": 298.6
  },
  "luminance": 0.25527
}

Semantic roles & 50–950 ramp

primary
#A56AFF
secondary
#E7F6CE
accent
#E6008B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A56AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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