#A156E4#A156E4

#A156E4 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.8% C 0.210 H 305.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A156E4
RGBrgb(161, 86, 228)
HSLhsl(272, 72%, 62%)
HSVhsv(272, 62%, 89%)
CMYKcmyk(29.4%, 62.3%, 0%, 10.6%)
CIE-LABlab(51.65, 56.34, -60.40)
CIE-LCHlch(51.65, 82.60, 313.01°)
OKLaboklab(60.75% 0.1211 -0.171)
OKLCHoklch(60.75% 0.21 305.3)
XYZxyz(32.0263, 19.8343, 75.5250)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A156E4 #99E456
analogous
#5A56E4 #A156E4 #E456E0
triadic
#A156E4 #E4A156 #56E4A1
tetradic
#A156E4 #E45A56 #99E456 #56E0E4
square
#A156E4 #E45A56 #99E456 #56E0E4
split-complementary
#A156E4 #E0E456 #56E45A
monochromatic
#641AA5 #8423DA #A156E4 #BE8BEC #DCC0F5

Accessibility & contrast

On white

4.23
#A156E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#A156E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A156E4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A156E4#FFFFFF#000000##000000
##A156E41.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#347BE1
Tritanopia (blue-blind)
#957495
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a156e4;
/* rgb */ color: rgb(161, 86, 228);
/* oklch */ color: oklch(60.8% 0.210 305.3);
Tailwind
colors: {
  custom: {
    50: '#c18aed',
    500: '#a156e4',
    950: '#000000',
  },
}
SCSS
$custom: #a156e4;
$custom-light: #c18aed;
$custom-dark: #000000;
JSON
{
  "hex": "#a156e4",
  "rgb": {
    "r": 161,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 271.69,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60754,
    "c": 0.20952,
    "h": 305.3
  },
  "luminance": 0.19834
}

Semantic roles & 50–950 ramp

primary
#A156E4
secondary
#C9E5B0
accent
#D5116D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A156E4

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

Preview Lab → · Contrast checker → · Palette generator →

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