#A556EB#A556EB

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

Color values

HEX#A556EB
RGBrgb(165, 86, 235)
HSLhsl(272, 79%, 63%)
HSVhsv(272, 63%, 92%)
CMYKcmyk(29.8%, 63.4%, 0%, 7.8%)
CIE-LABlab(52.57, 58.82, -62.84)
CIE-LCHlch(52.57, 86.07, 313.11°)
OKLaboklab(61.66% 0.1258 -0.178)
OKLCHoklch(61.66% 0.218 305.2)
XYZxyz(33.8369, 20.6533, 80.7851)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A556EB #9CEB56
analogous
#5A56EB #A556EB #EB56E7
triadic
#A556EB #EBA556 #56EBA5
tetradic
#A556EB #EB5A56 #9CEB56 #56E7EB
square
#A556EB #EB5A56 #9CEB56 #56E7EB
split-complementary
#A556EB #E7EB56 #56EB5A
monochromatic
#6815B2 #881FE5 #A556EB #C28DF1 #DFC3F8

Accessibility & contrast

On white

4.09
#A556EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#A556EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A556EB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A556EB#FFFFFF#000000##000000
##A556EB1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#2F7EE8
Tritanopia (blue-blind)
#997699
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a556eb;
/* rgb */ color: rgb(165, 86, 235);
/* oklch */ color: oklch(61.7% 0.218 305.2);
Tailwind
colors: {
  custom: {
    50: '#c48af2',
    500: '#a556eb',
    950: '#000000',
  },
}
SCSS
$custom: #a556eb;
$custom-light: #c48af2;
$custom-dark: #000000;
JSON
{
  "hex": "#a556eb",
  "rgb": {
    "r": 165,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 271.812,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61664,
    "c": 0.21798,
    "h": 305.2
  },
  "luminance": 0.20653
}

Semantic roles & 50–950 ramp

primary
#A556EB
secondary
#CDE9B4
accent
#DB0A6C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A556EB

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

Preview Lab → · Contrast checker → · Palette generator →

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