#A156CC#A156CC

#A156CC is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.2% C 0.184 H 311.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A156CC
RGBrgb(161, 86, 204)
HSLhsl(278, 54%, 57%)
HSVhsv(278, 58%, 80%)
CMYKcmyk(21.1%, 57.8%, 0%, 20%)
CIE-LABlab(50.21, 50.93, -49.07)
CIE-LCHlch(50.21, 70.72, 316.07°)
OKLaboklab(59.24% 0.1214 -0.1378)
OKLCHoklch(59.24% 0.184 311.4)
XYZxyz(28.9228, 18.5929, 59.1802)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A156CC #81CC56
analogous
#6656CC #A156CC #CC56BC
triadic
#A156CC #CCA156 #56CCA1
tetradic
#A156CC #CC6656 #81CC56 #56BCCC
square
#A156CC #CC6656 #81CC56 #56BCCC
split-complementary
#A156CC #BCCC56 #56CC66
monochromatic
#602781 #8335B0 #A156CC #BB85DA #D5B4E8

Accessibility & contrast

On white

4.45
#A156CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#A156CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A156CC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A156CC#FFFFFF#000000##000000
##A156CC1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F74D0
Deuteranopia (green-blind)
#4D79C9
Tritanopia (blue-blind)
#9C6B89
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a156cc;
/* rgb */ color: rgb(161, 86, 204);
/* oklch */ color: oklch(59.2% 0.184 311.4);
Tailwind
colors: {
  custom: {
    50: '#c089dc',
    500: '#a156cc',
    950: '#000000',
  },
}
SCSS
$custom: #a156cc;
$custom-light: #c089dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a156cc",
  "rgb": {
    "r": 161,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 278.136,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59242,
    "c": 0.18364,
    "h": 311.4
  },
  "luminance": 0.18592
}

Semantic roles & 50–950 ramp

primary
#A156CC
secondary
#B8D7A7
accent
#DD4B80
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A156CC

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

Preview Lab → · Contrast checker → · Palette generator →

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