#A156CD#A156CD

#A156CD is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.3% C 0.185 H 311.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A156CD
RGBrgb(161, 86, 205)
HSLhsl(278, 54%, 57%)
HSVhsv(278, 58%, 80%)
CMYKcmyk(21.5%, 58%, 0%, 19.6%)
CIE-LABlab(50.26, 51.15, -49.55)
CIE-LCHlch(50.26, 71.21, 315.91°)
OKLaboklab(59.3% 0.1214 -0.1392)
OKLCHoklch(59.3% 0.185 311.1)
XYZxyz(29.0431, 18.6410, 59.8139)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A156CD #82CD56
analogous
#6656CD #A156CD #CD56BE
triadic
#A156CD #CDA156 #56CDA1
tetradic
#A156CD #CD6656 #82CD56 #56BECD
square
#A156CD #CD6656 #82CD56 #56BECD
split-complementary
#A156CD #BECD56 #56CD66
monochromatic
#602682 #8334B1 #A156CD #BB85DB #D6B4E9

Accessibility & contrast

On white

4.44
#A156CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#A156CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A156CD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A156CD#FFFFFF#000000##000000
##A156CD1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E74D1
Deuteranopia (green-blind)
#4C79CA
Tritanopia (blue-blind)
#9C6C89
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a156cd;
/* rgb */ color: rgb(161, 86, 205);
/* oklch */ color: oklch(59.3% 0.185 311.1);
Tailwind
colors: {
  custom: {
    50: '#c089dd',
    500: '#a156cd',
    950: '#000000',
  },
}
SCSS
$custom: #a156cd;
$custom-light: #c089dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a156cd",
  "rgb": {
    "r": 161,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 277.815,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59302,
    "c": 0.18471,
    "h": 311.1
  },
  "luminance": 0.1864
}

Semantic roles & 50–950 ramp

primary
#A156CD
secondary
#B9D8A7
accent
#DE4A81
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A156CD

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

Preview Lab → · Contrast checker → · Palette generator →

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