#A56CC7#A56CC7

#A56CC7 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.7% C 0.144 H 311.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A56CC7
RGBrgb(165, 108, 199)
HSLhsl(278, 45%, 60%)
HSVhsv(278, 46%, 78%)
CMYKcmyk(17.1%, 45.7%, 0%, 22%)
CIE-LABlab(54.92, 39.19, -38.72)
CIE-LCHlch(54.92, 55.09, 315.35°)
OKLaboklab(62.74% 0.096 -0.1076)
OKLCHoklch(62.74% 0.144 311.7)
XYZxyz(31.1866, 22.8486, 56.7891)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56CC7 #8EC76C
analogous
#776CC7 #A56CC7 #C76CBC
triadic
#A56CC7 #C7A56C #6CC7A5
tetradic
#A56CC7 #C7776C #8EC76C #6CBCC7
square
#A56CC7 #C7776C #8EC76C #6CBCC7
split-complementary
#A56CC7 #BCC76C #6CC777
monochromatic
#673386 #8944B2 #A56CC7 #C098D8 #DBC5E9

Accessibility & contrast

On white

3.77
#A56CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#A56CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56CC7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56CC7#FFFFFF#000000##000000
##A56CC71.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5880CA
Deuteranopia (green-blind)
#6885C5
Tritanopia (blue-blind)
#A17A90
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a56cc7;
/* rgb */ color: rgb(165, 108, 199);
/* oklch */ color: oklch(62.7% 0.144 311.7);
Tailwind
colors: {
  custom: {
    50: '#c197d8',
    500: '#a56cc7',
    950: '#000000',
  },
}
SCSS
$custom: #a56cc7;
$custom-light: #c197d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a56cc7",
  "rgb": {
    "r": 165,
    "g": 108,
    "b": 199
  },
  "hsl": {
    "h": 277.582,
    "s": 44.828,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62741,
    "c": 0.14426,
    "h": 311.7
  },
  "luminance": 0.22848
}

Semantic roles & 50–950 ramp

primary
#A56CC7
secondary
#C3D9B6
accent
#B82E61
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #A56CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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