#A156CA#A156CA

#A156CA is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.1% C 0.181 H 312.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A156CA
RGBrgb(161, 86, 202)
HSLhsl(279, 52%, 56%)
HSVhsv(279, 57%, 79%)
CMYKcmyk(20.3%, 57.4%, 0%, 20.8%)
CIE-LABlab(50.09, 50.49, -48.10)
CIE-LCHlch(50.09, 69.74, 316.39°)
OKLaboklab(59.12% 0.1214 -0.1349)
OKLCHoklch(59.12% 0.181 312)
XYZxyz(28.6845, 18.4976, 57.9250)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A156CA #7FCA56
analogous
#6756CA #A156CA #CA56B9
triadic
#A156CA #CAA156 #56CAA1
tetradic
#A156CA #CA6756 #7FCA56 #56B9CA
square
#A156CA #CA6756 #7FCA56 #56B9CA
split-complementary
#A156CA #B9CA56 #56CA67
monochromatic
#5F287E #8336AD #A156CA #BB85D9 #D5B3E7

Accessibility & contrast

On white

4.47
#A156CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#A156CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A156CA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A156CA#FFFFFF#000000##000000
##A156CA1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3173CE
Deuteranopia (green-blind)
#4E79C7
Tritanopia (blue-blind)
#9C6B88
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a156ca;
/* rgb */ color: rgb(161, 86, 202);
/* oklch */ color: oklch(59.1% 0.181 312.0);
Tailwind
colors: {
  custom: {
    50: '#c089db',
    500: '#a156ca',
    950: '#000000',
  },
}
SCSS
$custom: #a156ca;
$custom-light: #c089db;
$custom-dark: #000000;
JSON
{
  "hex": "#a156ca",
  "rgb": {
    "r": 161,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 278.793,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59123,
    "c": 0.18149,
    "h": 312
  },
  "luminance": 0.18497
}

Semantic roles & 50–950 ramp

primary
#A156CA
secondary
#B7D6A6
accent
#DC4C7F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A156CA

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

Preview Lab → · Contrast checker → · Palette generator →

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