#A56CC2#A56CC2

#A56CC2 is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.5% C 0.138 H 313.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#A56CC2
RGBrgb(165, 108, 194)
HSLhsl(280, 41%, 59%)
HSVhsv(280, 44%, 76%)
CMYKcmyk(14.9%, 44.3%, 0%, 23.9%)
CIE-LABlab(54.68, 38.09, -36.24)
CIE-LCHlch(54.68, 52.58, 316.43°)
OKLaboklab(62.49% 0.0952 -0.1005)
OKLCHoklch(62.49% 0.138 313.5)
XYZxyz(30.6156, 22.6202, 53.7818)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56CC2 #89C26C
analogous
#7A6CC2 #A56CC2 #C26CB4
triadic
#A56CC2 #C2A56C #6CC2A5
tetradic
#A56CC2 #C27A6C #89C26C #6CB4C2
square
#A56CC2 #C27A6C #89C26C #6CB4C2
split-complementary
#A56CC2 #B4C26C #6CC27A
monochromatic
#66357F #8947AA #A56CC2 #BF97D4 #DAC3E6

Accessibility & contrast

On white

3.80
#A56CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#A56CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56CC2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56CC2#FFFFFF#000000##000000
##A56CC21.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B80C5
Deuteranopia (green-blind)
#6A84C0
Tritanopia (blue-blind)
#A3798E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a56cc2;
/* rgb */ color: rgb(165, 108, 194);
/* oklch */ color: oklch(62.5% 0.138 313.5);
Tailwind
colors: {
  custom: {
    50: '#c197d5',
    500: '#a56cc2',
    950: '#000000',
  },
}
SCSS
$custom: #a56cc2;
$custom-light: #c197d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a56cc2",
  "rgb": {
    "r": 165,
    "g": 108,
    "b": 194
  },
  "hsl": {
    "h": 279.767,
    "s": 41.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62487,
    "c": 0.13843,
    "h": 313.5
  },
  "luminance": 0.22619
}

Semantic roles & 50–950 ramp

primary
#A56CC2
secondary
#BFD6B4
accent
#D15780
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #A56CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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