#A156DC#A156DC

#A156DC is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.2% C 0.201 H 307.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A156DC
RGBrgb(161, 86, 220)
HSLhsl(274, 66%, 60%)
HSVhsv(274, 61%, 86%)
CMYKcmyk(26.8%, 60.9%, 0%, 13.7%)
CIE-LABlab(51.15, 54.51, -56.68)
CIE-LCHlch(51.15, 78.64, 313.88°)
OKLaboklab(60.23% 0.1214 -0.1601)
OKLCHoklch(60.23% 0.201 307.2)
XYZxyz(30.9413, 19.4003, 69.8109)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A156DC #91DC56
analogous
#5E56DC #A156DC #DC56D4
triadic
#A156DC #DCA156 #56DCA1
tetradic
#A156DC #DC5E56 #91DC56 #56D4DC
square
#A156DC #DC5E56 #91DC56 #56D4DC
split-complementary
#A156DC #D4DC56 #56DC5E
monochromatic
#632098 #842ACB #A156DC #BD89E6 #D9BBF1

Accessibility & contrast

On white

4.30
#A156DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#A156DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A156DC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A156DC#FFFFFF#000000##000000
##A156DC1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1177E0
Deuteranopia (green-blind)
#3E7AD9
Tritanopia (blue-blind)
#987191
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a156dc;
/* rgb */ color: rgb(161, 86, 220);
/* oklch */ color: oklch(60.2% 0.201 307.2);
Tailwind
colors: {
  custom: {
    50: '#c189e7',
    500: '#a156dc',
    950: '#000000',
  },
}
SCSS
$custom: #a156dc;
$custom-light: #c189e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a156dc",
  "rgb": {
    "r": 161,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 273.582,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.60234,
    "c": 0.20089,
    "h": 307.2
  },
  "luminance": 0.194
}

Semantic roles & 50–950 ramp

primary
#A156DC
secondary
#C4E1AD
accent
#E93F8A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A156DC

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

Preview Lab → · Contrast checker → · Palette generator →

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