#A56AF1#A56AF1

#A56AF1 is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.8% C 0.197 H 301.3°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A56AF1
RGBrgb(165, 106, 241)
HSLhsl(266, 83%, 68%)
HSVhsv(266, 56%, 95%)
CMYKcmyk(31.5%, 56%, 0%, 5.5%)
CIE-LABlab(56.74, 50.04, -59.48)
CIE-LCHlch(56.74, 77.73, 310.07°)
OKLaboklab(64.82% 0.1021 -0.1682)
OKLCHoklch(64.82% 0.197 301.3)
XYZxyz(36.5445, 24.6581, 86.0362)
Luminance0.2466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56AF1 #B6F16A
analogous
#6A72F1 #A56AF1 #E86AF1
triadic
#A56AF1 #F1A56A #6AF1A5
tetradic
#A56AF1 #F16A72 #B6F16A #6AF1E8
square
#A56AF1 #F16A72 #B6F16A #6AF1E8
split-complementary
#A56AF1 #F1E86A #72F16A
monochromatic
#6513CD #8332EC #A56AF1 #C7A2F6 #E9DAFC

Accessibility & contrast

On white

3.54
#A56AF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#A56AF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56AF1
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56AF1#FFFFFF#000000##000000
##A56AF11.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F87F5
Deuteranopia (green-blind)
#4687EE
Tritanopia (blue-blind)
#9685A4
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a56af1;
/* rgb */ color: rgb(165, 106, 241);
/* oklch */ color: oklch(64.8% 0.197 301.3);
Tailwind
colors: {
  custom: {
    50: '#c497f6',
    500: '#a56af1',
    950: '#000000',
  },
}
SCSS
$custom: #a56af1;
$custom-light: #c497f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a56af1",
  "rgb": {
    "r": 165,
    "g": 106,
    "b": 241
  },
  "hsl": {
    "h": 266.222,
    "s": 82.822,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64821,
    "c": 0.19682,
    "h": 301.3
  },
  "luminance": 0.24658
}

Semantic roles & 50–950 ramp

primary
#A56AF1
secondary
#DEF0C7
accent
#DF0680
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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