#A556EC#A556EC

#A556EC is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.7% C 0.219 H 305.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A556EC
RGBrgb(165, 86, 236)
HSLhsl(272, 80%, 63%)
HSVhsv(272, 64%, 93%)
CMYKcmyk(30.1%, 63.6%, 0%, 7.5%)
CIE-LABlab(52.63, 59.05, -63.30)
CIE-LCHlch(52.63, 86.56, 313.01°)
OKLaboklab(61.73% 0.1257 -0.1794)
OKLCHoklch(61.73% 0.219 305)
XYZxyz(33.9818, 20.7112, 81.5481)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A556EC #9DEC56
analogous
#5A56EC #A556EC #EC56E8
triadic
#A556EC #ECA556 #56ECA5
tetradic
#A556EC #EC5A56 #9DEC56 #56E8EC
square
#A556EC #EC5A56 #9DEC56 #56E8EC
split-complementary
#A556EC #E8EC56 #56EC5A
monochromatic
#6814B3 #881FE6 #A556EC #C28DF2 #E0C4F8

Accessibility & contrast

On white

4.08
#A556EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#A556EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A556EC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A556EC#FFFFFF#000000##000000
##A556EC1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#2E7EE9
Tritanopia (blue-blind)
#98769A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a556ec;
/* rgb */ color: rgb(165, 86, 236);
/* oklch */ color: oklch(61.7% 0.219 305.0);
Tailwind
colors: {
  custom: {
    50: '#c48af3',
    500: '#a556ec',
    950: '#000000',
  },
}
SCSS
$custom: #a556ec;
$custom-light: #c48af3;
$custom-dark: #000000;
JSON
{
  "hex": "#a556ec",
  "rgb": {
    "r": 165,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 271.6,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6173,
    "c": 0.21904,
    "h": 305
  },
  "luminance": 0.20711
}

Semantic roles & 50–950 ramp

primary
#A556EC
secondary
#CDEAB4
accent
#DC096D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A556EC

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

Preview Lab → · Contrast checker → · Palette generator →

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