#A556E1#A556E1

#A556E1 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.0% C 0.207 H 307.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A556E1
RGBrgb(165, 86, 225)
HSLhsl(274, 70%, 61%)
HSVhsv(274, 62%, 88%)
CMYKcmyk(26.7%, 61.8%, 0%, 11.8%)
CIE-LABlab(51.94, 56.55, -58.22)
CIE-LCHlch(51.94, 81.16, 314.17°)
OKLaboklab(61.01% 0.1263 -0.1645)
OKLCHoklch(61.01% 0.207 307.5)
XYZxyz(32.4326, 20.0916, 73.3891)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A556E1 #92E156
analogous
#5F56E1 #A556E1 #E156D7
triadic
#A556E1 #E1A556 #56E1A5
tetradic
#A556E1 #E15F56 #92E156 #56D7E1
square
#A556E1 #E15F56 #92E156 #56D7E1
split-complementary
#A556E1 #D7E156 #56E15F
monochromatic
#671CA0 #8926D4 #A556E1 #C18AEA #DCBEF3

Accessibility & contrast

On white

4.18
#A556E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#A556E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A556E1
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A556E1#FFFFFF#000000##000000
##A556E11.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0379E5
Deuteranopia (green-blind)
#3D7DDE
Tritanopia (blue-blind)
#9C7294
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a556e1;
/* rgb */ color: rgb(165, 86, 225);
/* oklch */ color: oklch(61.0% 0.207 307.5);
Tailwind
colors: {
  custom: {
    50: '#c48aeb',
    500: '#a556e1',
    950: '#000000',
  },
}
SCSS
$custom: #a556e1;
$custom-light: #c48aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#a556e1",
  "rgb": {
    "r": 165,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 274.101,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6101,
    "c": 0.20737,
    "h": 307.5
  },
  "luminance": 0.20091
}

Semantic roles & 50–950 ramp

primary
#A556E1
secondary
#C6E4AF
accent
#D21466
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A556E1

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

Preview Lab → · Contrast checker → · Palette generator →

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