#A56CC5#A56CC5

#A56CC5 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.6% C 0.142 H 312.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#A56CC5
RGBrgb(165, 108, 197)
HSLhsl(278, 43%, 60%)
HSVhsv(278, 45%, 77%)
CMYKcmyk(16.2%, 45.2%, 0%, 22.7%)
CIE-LABlab(54.82, 38.75, -37.73)
CIE-LCHlch(54.82, 54.08, 315.76°)
OKLaboklab(62.64% 0.0957 -0.1048)
OKLCHoklch(62.64% 0.142 312.4)
XYZxyz(30.9559, 22.7563, 55.5742)
Luminance0.2276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56CC5 #8CC56C
analogous
#796CC5 #A56CC5 #C56CB9
triadic
#A56CC5 #C5A56C #6CC5A5
tetradic
#A56CC5 #C5796C #8CC56C #6CB9C5
square
#A56CC5 #C5796C #8CC56C #6CB9C5
split-complementary
#A56CC5 #B9C56C #6CC579
monochromatic
#663483 #8945AF #A56CC5 #C098D6 #DBC4E8

Accessibility & contrast

On white

3.78
#A56CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#A56CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56CC5
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56CC5#FFFFFF#000000##000000
##A56CC51.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5980C8
Deuteranopia (green-blind)
#6985C3
Tritanopia (blue-blind)
#A2798F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a56cc5;
/* rgb */ color: rgb(165, 108, 197);
/* oklch */ color: oklch(62.6% 0.142 312.4);
Tailwind
colors: {
  custom: {
    50: '#c197d7',
    500: '#a56cc5',
    950: '#000000',
  },
}
SCSS
$custom: #a56cc5;
$custom-light: #c197d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a56cc5",
  "rgb": {
    "r": 165,
    "g": 108,
    "b": 197
  },
  "hsl": {
    "h": 278.427,
    "s": 43.415,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62639,
    "c": 0.14193,
    "h": 312.4
  },
  "luminance": 0.22756
}

Semantic roles & 50–950 ramp

primary
#A56CC5
secondary
#C2D8B5
accent
#D35582
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #A56CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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