#A156E2#A156E2

#A156E2 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.6% C 0.207 H 305.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A156E2
RGBrgb(161, 86, 226)
HSLhsl(272, 71%, 61%)
HSVhsv(272, 62%, 89%)
CMYKcmyk(28.8%, 61.9%, 0%, 11.4%)
CIE-LABlab(51.52, 55.88, -59.48)
CIE-LCHlch(51.52, 81.61, 313.21°)
OKLaboklab(60.62% 0.1212 -0.1683)
OKLCHoklch(60.62% 0.207 305.8)
XYZxyz(31.7502, 19.7239, 74.0712)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A156E2 #97E256
analogous
#5B56E2 #A156E2 #E256DD
triadic
#A156E2 #E2A156 #56E2A1
tetradic
#A156E2 #E25B56 #97E256 #56DDE2
square
#A156E2 #E25B56 #97E256 #56DDE2
split-complementary
#A156E2 #DDE256 #56E25B
monochromatic
#641CA2 #8425D6 #A156E2 #BE8AEB #DBBEF4

Accessibility & contrast

On white

4.25
#A156E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#A156E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A156E2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A156E2#FFFFFF#000000##000000
##A156E21.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#377BDF
Tritanopia (blue-blind)
#967394
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a156e2;
/* rgb */ color: rgb(161, 86, 226);
/* oklch */ color: oklch(60.6% 0.207 305.8);
Tailwind
colors: {
  custom: {
    50: '#c18aec',
    500: '#a156e2',
    950: '#000000',
  },
}
SCSS
$custom: #a156e2;
$custom-light: #c18aec;
$custom-dark: #000000;
JSON
{
  "hex": "#a156e2",
  "rgb": {
    "r": 161,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 272.143,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60623,
    "c": 0.20737,
    "h": 305.8
  },
  "luminance": 0.19724
}

Semantic roles & 50–950 ramp

primary
#A156E2
secondary
#C8E4B0
accent
#D3136C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A156E2

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

Preview Lab → · Contrast checker → · Palette generator →

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