#A56EC5#A56EC5

#A56EC5 is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.0% C 0.139 H 312.1°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#A56EC5
RGBrgb(165, 110, 197)
HSLhsl(278, 43%, 60%)
HSVhsv(278, 44%, 77%)
CMYKcmyk(16.2%, 44.2%, 0%, 22.7%)
CIE-LABlab(55.26, 37.64, -37.04)
CIE-LCHlch(55.26, 52.81, 315.46°)
OKLaboklab(62.97% 0.0929 -0.1028)
OKLCHoklch(62.97% 0.139 312.1)
XYZxyz(31.1693, 23.1830, 55.6453)
Luminance0.2318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56EC5 #8EC56E
analogous
#796EC5 #A56EC5 #C56EB9
triadic
#A56EC5 #C5A56E #6EC5A5
tetradic
#A56EC5 #C5796E #8EC56E #6EB9C5
square
#A56EC5 #C5796E #8EC56E #6EB9C5
split-complementary
#A56EC5 #B9C56E #6EC579
monochromatic
#673584 #8946B0 #A56EC5 #C09AD6 #DBC5E8

Accessibility & contrast

On white

3.73
#A56EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#A56EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56EC5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56EC5#FFFFFF#000000##000000
##A56EC51.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C81C8
Deuteranopia (green-blind)
#6A86C3
Tritanopia (blue-blind)
#A27B90
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a56ec5;
/* rgb */ color: rgb(165, 110, 197);
/* oklch */ color: oklch(63.0% 0.139 312.1);
Tailwind
colors: {
  custom: {
    50: '#c199d7',
    500: '#a56ec5',
    950: '#000000',
  },
}
SCSS
$custom: #a56ec5;
$custom-light: #c199d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a56ec5",
  "rgb": {
    "r": 165,
    "g": 110,
    "b": 197
  },
  "hsl": {
    "h": 277.931,
    "s": 42.857,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62968,
    "c": 0.13852,
    "h": 312.1
  },
  "luminance": 0.23182
}

Semantic roles & 50–950 ramp

primary
#A56EC5
secondary
#C3D8B7
accent
#B63061
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #A56EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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