#A556EF#A556EF

#A556EF is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.9% C 0.222 H 304.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A556EF
RGBrgb(165, 86, 239)
HSLhsl(271, 83%, 64%)
HSVhsv(271, 64%, 94%)
CMYKcmyk(31%, 64%, 0%, 6.3%)
CIE-LABlab(52.83, 59.73, -64.67)
CIE-LCHlch(52.83, 88.03, 312.73°)
OKLaboklab(61.93% 0.1255 -0.1834)
OKLCHoklch(61.93% 0.222 304.4)
XYZxyz(34.4213, 20.8870, 83.8628)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A556EF #A0EF56
analogous
#5856EF #A556EF #EF56ED
triadic
#A556EF #EFA556 #56EFA5
tetradic
#A556EF #EF5856 #A0EF56 #56EDEF
square
#A556EF #EF5856 #A0EF56 #56EDEF
split-complementary
#A556EF #EDEF56 #56EF58
monochromatic
#6812B9 #871EEA #A556EF #C38EF4 #E1C6FA

Accessibility & contrast

On white

4.06
#A556EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#A556EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A556EF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A556EF#FFFFFF#000000##000000
##A556EF1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#287EEC
Tritanopia (blue-blind)
#97779B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a556ef;
/* rgb */ color: rgb(165, 86, 239);
/* oklch */ color: oklch(61.9% 0.222 304.4);
Tailwind
colors: {
  custom: {
    50: '#c48af5',
    500: '#a556ef',
    950: '#000000',
  },
}
SCSS
$custom: #a556ef;
$custom-light: #c48af5;
$custom-dark: #000000;
JSON
{
  "hex": "#a556ef",
  "rgb": {
    "r": 165,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 270.98,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61932,
    "c": 0.22221,
    "h": 304.4
  },
  "luminance": 0.20887
}

Semantic roles & 50–950 ramp

primary
#A556EF
secondary
#D0EBB5
accent
#DF066F
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A556EF

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

Preview Lab → · Contrast checker → · Palette generator →

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