#A156CB#A156CB

#A156CB is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.2% C 0.183 H 311.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A156CB
RGBrgb(161, 86, 203)
HSLhsl(278, 53%, 57%)
HSVhsv(278, 58%, 80%)
CMYKcmyk(20.7%, 57.6%, 0%, 20.4%)
CIE-LABlab(50.15, 50.71, -48.58)
CIE-LCHlch(50.15, 70.23, 316.23°)
OKLaboklab(59.18% 0.1214 -0.1364)
OKLCHoklch(59.18% 0.183 311.7)
XYZxyz(28.8033, 18.5451, 58.5506)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A156CB #80CB56
analogous
#6756CB #A156CB #CB56BA
triadic
#A156CB #CBA156 #56CBA1
tetradic
#A156CB #CB6756 #80CB56 #56BACB
square
#A156CB #CB6756 #80CB56 #56BACB
split-complementary
#A156CB #BACB56 #56CB67
monochromatic
#60277F #8336AE #A156CB #BB85D9 #D5B4E8

Accessibility & contrast

On white

4.46
#A156CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#A156CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A156CB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A156CB#FFFFFF#000000##000000
##A156CB1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3074CF
Deuteranopia (green-blind)
#4D79C8
Tritanopia (blue-blind)
#9C6B88
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a156cb;
/* rgb */ color: rgb(161, 86, 203);
/* oklch */ color: oklch(59.2% 0.183 311.7);
Tailwind
colors: {
  custom: {
    50: '#c089db',
    500: '#a156cb',
    950: '#000000',
  },
}
SCSS
$custom: #a156cb;
$custom-light: #c089db;
$custom-dark: #000000;
JSON
{
  "hex": "#a156cb",
  "rgb": {
    "r": 161,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 278.462,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59183,
    "c": 0.18256,
    "h": 311.7
  },
  "luminance": 0.18544
}

Semantic roles & 50–950 ramp

primary
#A156CB
secondary
#B8D6A6
accent
#DC4B7F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A156CB

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

Preview Lab → · Contrast checker → · Palette generator →

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