#A156C8#A156C8

#A156C8 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 59.0% C 0.179 H 312.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A156C8
RGBrgb(161, 86, 200)
HSLhsl(279, 51%, 56%)
HSVhsv(279, 57%, 78%)
CMYKcmyk(19.5%, 57%, 0%, 21.6%)
CIE-LABlab(49.98, 50.06, -47.13)
CIE-LCHlch(49.98, 68.75, 316.73°)
OKLaboklab(59% 0.1213 -0.1321)
OKLCHoklch(59% 0.179 312.6)
XYZxyz(28.4492, 18.4035, 56.6860)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A156C8 #7DC856
analogous
#6856C8 #A156C8 #C856B6
triadic
#A156C8 #C8A156 #56C8A1
tetradic
#A156C8 #C86856 #7DC856 #56B6C8
square
#A156C8 #C86856 #7DC856 #56B6C8
split-complementary
#A156C8 #B6C856 #56C868
monochromatic
#5F287B #8237AA #A156C8 #BB84D7 #D4B2E6

Accessibility & contrast

On white

4.49
#A156C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#A156C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A156C8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A156C8#FFFFFF#000000##000000
##A156C81.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3473CC
Deuteranopia (green-blind)
#5079C5
Tritanopia (blue-blind)
#9D6A87
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a156c8;
/* rgb */ color: rgb(161, 86, 200);
/* oklch */ color: oklch(59.0% 0.179 312.6);
Tailwind
colors: {
  custom: {
    50: '#c089d9',
    500: '#a156c8',
    950: '#000000',
  },
}
SCSS
$custom: #a156c8;
$custom-light: #c089d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a156c8",
  "rgb": {
    "r": 161,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 279.474,
    "s": 50.893,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59004,
    "c": 0.17934,
    "h": 312.6
  },
  "luminance": 0.18403
}

Semantic roles & 50–950 ramp

primary
#A156C8
secondary
#B5D4A5
accent
#DA4D7E
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C15
muted
#827D83

Preview Lab

Preview with #A156C8

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

Preview Lab → · Contrast checker → · Palette generator →

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