#A56FC2#A56FC2

#A56FC2 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.0% C 0.133 H 313.0°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#A56FC2
RGBrgb(165, 111, 194)
HSLhsl(279, 40%, 60%)
HSVhsv(279, 43%, 76%)
CMYKcmyk(14.9%, 42.8%, 0%, 23.9%)
CIE-LABlab(55.34, 36.43, -35.20)
CIE-LCHlch(55.34, 50.65, 315.99°)
OKLaboklab(62.98% 0.0909 -0.0975)
OKLCHoklch(62.98% 0.133 313)
XYZxyz(30.9375, 23.2639, 53.8891)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56FC2 #8CC26F
analogous
#7B6FC2 #A56FC2 #C26FB6
triadic
#A56FC2 #C2A56F #6FC2A5
tetradic
#A56FC2 #C27B6F #8CC26F #6FB6C2
square
#A56FC2 #C27B6F #8CC26F #6FB6C2
split-complementary
#A56FC2 #B6C26F #6FC27B
monochromatic
#663680 #8949AB #A56FC2 #C09AD4 #DBC5E6

Accessibility & contrast

On white

3.72
#A56FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#A56FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56FC2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56FC2#FFFFFF#000000##000000
##A56FC21.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F82C5
Deuteranopia (green-blind)
#6D86C0
Tritanopia (blue-blind)
#A27B8F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a56fc2;
/* rgb */ color: rgb(165, 111, 194);
/* oklch */ color: oklch(63.0% 0.133 313.0);
Tailwind
colors: {
  custom: {
    50: '#c199d5',
    500: '#a56fc2',
    950: '#000000',
  },
}
SCSS
$custom: #a56fc2;
$custom-light: #c199d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a56fc2",
  "rgb": {
    "r": 165,
    "g": 111,
    "b": 194
  },
  "hsl": {
    "h": 279.036,
    "s": 40.488,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62984,
    "c": 0.13327,
    "h": 313
  },
  "luminance": 0.23263
}

Semantic roles & 50–950 ramp

primary
#A56FC2
secondary
#C2D6B6
accent
#D05782
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #A56FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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