#A56BF0#A56BF0

#A56BF0 is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.9% C 0.194 H 301.3°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#A56BF0
RGBrgb(165, 107, 240)
HSLhsl(266, 82%, 68%)
HSVhsv(266, 55%, 94%)
CMYKcmyk(31.2%, 55.4%, 0%, 5.9%)
CIE-LABlab(56.89, 49.27, -58.70)
CIE-LCHlch(56.89, 76.63, 310.01°)
OKLaboklab(64.91% 0.1009 -0.1659)
OKLCHoklch(64.91% 0.194 301.3)
XYZxyz(36.4992, 24.8059, 85.2863)
Luminance0.2481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56BF0 #B6F06B
analogous
#6B74F0 #A56BF0 #E76BF0
triadic
#A56BF0 #F0A56B #6BF0A5
tetradic
#A56BF0 #F06B74 #B6F06B #6BF0E7
square
#A56BF0 #F06B74 #B6F06B #6BF0E7
split-complementary
#A56BF0 #F0E76B #74F06B
monochromatic
#6515CC #8333EA #A56BF0 #C7A3F6 #E9DAFB

Accessibility & contrast

On white

3.52
#A56BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#A56BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56BF0
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56BF0#FFFFFF#000000##000000
##A56BF01.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3388F4
Deuteranopia (green-blind)
#4988ED
Tritanopia (blue-blind)
#9685A3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a56bf0;
/* rgb */ color: rgb(165, 107, 240);
/* oklch */ color: oklch(64.9% 0.194 301.3);
Tailwind
colors: {
  custom: {
    50: '#c397f6',
    500: '#a56bf0',
    950: '#000000',
  },
}
SCSS
$custom: #a56bf0;
$custom-light: #c397f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a56bf0",
  "rgb": {
    "r": 165,
    "g": 107,
    "b": 240
  },
  "hsl": {
    "h": 266.165,
    "s": 81.595,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64908,
    "c": 0.19419,
    "h": 301.3
  },
  "luminance": 0.24806
}

Semantic roles & 50–950 ramp

primary
#A56BF0
secondary
#DEF0C7
accent
#DE0880
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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