#A156E5#A156E5

#A156E5 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.8% C 0.211 H 305.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A156E5
RGBrgb(161, 86, 229)
HSLhsl(271, 73%, 62%)
HSVhsv(271, 62%, 90%)
CMYKcmyk(29.7%, 62.4%, 0%, 10.2%)
CIE-LABlab(51.71, 56.57, -60.87)
CIE-LCHlch(51.71, 83.09, 312.90°)
OKLaboklab(60.82% 0.121 -0.1724)
OKLCHoklch(60.82% 0.211 305.1)
XYZxyz(32.1655, 19.8900, 76.2582)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A156E5 #9AE556
analogous
#5A56E5 #A156E5 #E556E1
triadic
#A156E5 #E5A156 #56E5A1
tetradic
#A156E5 #E55A56 #9AE556 #56E1E5
square
#A156E5 #E55A56 #9AE556 #56E1E5
split-complementary
#A156E5 #E1E556 #56E55A
monochromatic
#641AA7 #8322DC #A156E5 #BF8BED #DCC0F5

Accessibility & contrast

On white

4.22
#A156E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#A156E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A156E5
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A156E5#FFFFFF#000000##000000
##A156E51.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#327BE2
Tritanopia (blue-blind)
#957496
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a156e5;
/* rgb */ color: rgb(161, 86, 229);
/* oklch */ color: oklch(60.8% 0.211 305.1);
Tailwind
colors: {
  custom: {
    50: '#c18aee',
    500: '#a156e5',
    950: '#000000',
  },
}
SCSS
$custom: #a156e5;
$custom-light: #c18aee;
$custom-dark: #000000;
JSON
{
  "hex": "#a156e5",
  "rgb": {
    "r": 161,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 271.469,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6082,
    "c": 0.2106,
    "h": 305.1
  },
  "luminance": 0.1989
}

Semantic roles & 50–950 ramp

primary
#A156E5
secondary
#CAE6B1
accent
#D5106E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A156E5

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

Preview Lab → · Contrast checker → · Palette generator →

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