#A56CF5#A56CF5

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

Color values

HEX#A56CF5
RGBrgb(165, 108, 245)
HSLhsl(265, 87%, 69%)
HSVhsv(265, 56%, 96%)
CMYKcmyk(32.7%, 55.9%, 0%, 3.9%)
CIE-LABlab(57.38, 49.95, -60.68)
CIE-LCHlch(57.38, 78.59, 309.46°)
OKLaboklab(65.37% 0.0998 -0.1717)
OKLCHoklch(65.37% 0.199 300.2)
XYZxyz(37.3571, 25.3168, 89.2870)
Luminance0.2532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56CF5 #BCF56C
analogous
#6C78F5 #A56CF5 #EA6CF5
triadic
#A56CF5 #F5A56C #6CF5A5
tetradic
#A56CF5 #F56C78 #BCF56C #6CF5EA
square
#A56CF5 #F56C78 #BCF56C #6CF5EA
split-complementary
#A56CF5 #F5EA6C #78F56C
monochromatic
#620FD8 #8233F1 #A56CF5 #C8A5F9 #EBDFFD

Accessibility & contrast

On white

3.46
#A56CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A56CF5#FFFFFF#000000##000000
##A56CF51.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F89FA
Deuteranopia (green-blind)
#4589F2
Tritanopia (blue-blind)
#9488A6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a56cf5;
/* rgb */ color: rgb(165, 108, 245);
/* oklch */ color: oklch(65.4% 0.199 300.2);
Tailwind
colors: {
  custom: {
    50: '#c498f9',
    500: '#a56cf5',
    950: '#000000',
  },
}
SCSS
$custom: #a56cf5;
$custom-light: #c498f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a56cf5",
  "rgb": {
    "r": 165,
    "g": 108,
    "b": 245
  },
  "hsl": {
    "h": 264.964,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65368,
    "c": 0.19862,
    "h": 300.2
  },
  "luminance": 0.25317
}

Semantic roles & 50–950 ramp

primary
#A56CF5
secondary
#E2F2CA
accent
#E40286
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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