#A56BF4#A56BF4

#A56BF4 is a light, vivid violet. Relative luminance 0.250; OKLCH L 65.2% C 0.199 H 300.5°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A56BF4
RGBrgb(165, 107, 244)
HSLhsl(265, 86%, 69%)
HSVhsv(265, 56%, 96%)
CMYKcmyk(32.4%, 56.1%, 0%, 4.3%)
CIE-LABlab(57.12, 50.24, -60.54)
CIE-LCHlch(57.12, 78.67, 309.68°)
OKLaboklab(65.16% 0.101 -0.1713)
OKLCHoklch(65.16% 0.199 300.5)
XYZxyz(37.1000, 25.0462, 88.4502)
Luminance0.2505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56BF4 #BAF46B
analogous
#6B76F4 #A56BF4 #E96BF4
triadic
#A56BF4 #F4A56B #6BF4A5
tetradic
#A56BF4 #F46B76 #BAF46B #6BF4E9
square
#A56BF4 #F46B76 #BAF46B #6BF4E9
split-complementary
#A56BF4 #F4E96B #76F46B
monochromatic
#6310D5 #8232F0 #A56BF4 #C8A4F8 #EADDFC

Accessibility & contrast

On white

3.49
#A56BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#A56BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56BF4
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56BF4#FFFFFF#000000##000000
##A56BF41.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D89F9
Deuteranopia (green-blind)
#4488F1
Tritanopia (blue-blind)
#9587A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a56bf4;
/* rgb */ color: rgb(165, 107, 244);
/* oklch */ color: oklch(65.2% 0.199 300.5);
Tailwind
colors: {
  custom: {
    50: '#c497f8',
    500: '#a56bf4',
    950: '#000000',
  },
}
SCSS
$custom: #a56bf4;
$custom-light: #c497f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a56bf4",
  "rgb": {
    "r": 165,
    "g": 107,
    "b": 244
  },
  "hsl": {
    "h": 265.401,
    "s": 86.164,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65156,
    "c": 0.19888,
    "h": 300.5
  },
  "luminance": 0.25046
}

Semantic roles & 50–950 ramp

primary
#A56BF4
secondary
#E1F2C9
accent
#E30384
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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