#A56DF1#A56DF1

#A56DF1 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.3% C 0.192 H 300.8°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A56DF1
RGBrgb(165, 109, 241)
HSLhsl(265, 83%, 69%)
HSVhsv(265, 55%, 95%)
CMYKcmyk(31.5%, 54.8%, 0%, 5.5%)
CIE-LABlab(57.35, 48.44, -58.50)
CIE-LCHlch(57.35, 75.95, 309.62°)
OKLaboklab(65.27% 0.0985 -0.1654)
OKLCHoklch(65.27% 0.192 300.8)
XYZxyz(36.8591, 25.2873, 86.1411)
Luminance0.2529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56DF1 #B9F16D
analogous
#6D77F1 #A56DF1 #E76DF1
triadic
#A56DF1 #F1A56D #6DF1A5
tetradic
#A56DF1 #F16D77 #B9F16D #6DF1E7
square
#A56DF1 #F16D77 #B9F16D #6DF1E7
split-complementary
#A56DF1 #F1E76D #77F16D
monochromatic
#6414D0 #8335EC #A56DF1 #C7A5F6 #EADDFC

Accessibility & contrast

On white

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

On black

6.06
#A56DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56DF1
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56DF1#FFFFFF#000000##000000
##A56DF11.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3789F5
Deuteranopia (green-blind)
#4A89EE
Tritanopia (blue-blind)
#9687A5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a56df1;
/* rgb */ color: rgb(165, 109, 241);
/* oklch */ color: oklch(65.3% 0.192 300.8);
Tailwind
colors: {
  custom: {
    50: '#c399f6',
    500: '#a56df1',
    950: '#000000',
  },
}
SCSS
$custom: #a56df1;
$custom-light: #c399f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a56df1",
  "rgb": {
    "r": 165,
    "g": 109,
    "b": 241
  },
  "hsl": {
    "h": 265.455,
    "s": 82.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65272,
    "c": 0.19245,
    "h": 300.8
  },
  "luminance": 0.25287
}

Semantic roles & 50–950 ramp

primary
#A56DF1
secondary
#E0F1C9
accent
#DF0783
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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