#A56FDA#A56FDA

#A56FDA is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.2% C 0.162 H 305.6°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A56FDA
RGBrgb(165, 111, 218)
HSLhsl(270, 59%, 65%)
HSVhsv(270, 49%, 85%)
CMYKcmyk(24.3%, 49.1%, 0%, 14.5%)
CIE-LABlab(56.52, 41.86, -46.97)
CIE-LCHlch(56.52, 62.91, 311.71°)
OKLaboklab(64.24% 0.0943 -0.1316)
OKLCHoklch(64.24% 0.162 305.6)
XYZxyz(33.8537, 24.4304, 69.2481)
Luminance0.2443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56FDA #A4DA6F
analogous
#706FDA #A56FDA #DA6FDA
triadic
#A56FDA #DAA56F #6FDAA5
tetradic
#A56FDA #DA706F #A4DA6F #6FDADA
square
#A56FDA #DA706F #A4DA6F #6FDADA
split-complementary
#A56FDA #DADA6F #6FDA70
monochromatic
#682AA4 #873ECD #A56FDA #C3A0E7 #E2D0F3

Accessibility & contrast

On white

3.57
#A56FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#A56FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56FDA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56FDA#FFFFFF#000000##000000
##A56FDA1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5086DE
Deuteranopia (green-blind)
#5F88D7
Tritanopia (blue-blind)
#9D829A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a56fda;
/* rgb */ color: rgb(165, 111, 218);
/* oklch */ color: oklch(64.2% 0.162 305.6);
Tailwind
colors: {
  custom: {
    50: '#c29ae6',
    500: '#a56fda',
    950: '#000000',
  },
}
SCSS
$custom: #a56fda;
$custom-light: #c29ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#a56fda",
  "rgb": {
    "r": 165,
    "g": 111,
    "b": 218
  },
  "hsl": {
    "h": 270.28,
    "s": 59.116,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64244,
    "c": 0.16193,
    "h": 305.6
  },
  "luminance": 0.2443
}

Semantic roles & 50–950 ramp

primary
#A56FDA
secondary
#D2E5C0
accent
#C71F72
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A56FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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