#A156DF#A156DF

#A156DF is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.4% C 0.204 H 306.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A156DF
RGBrgb(161, 86, 223)
HSLhsl(273, 68%, 61%)
HSVhsv(273, 61%, 87%)
CMYKcmyk(27.8%, 61.4%, 0%, 12.5%)
CIE-LABlab(51.34, 55.19, -58.08)
CIE-LCHlch(51.34, 80.12, 313.54°)
OKLaboklab(60.43% 0.1213 -0.1642)
OKLCHoklch(60.43% 0.204 306.5)
XYZxyz(31.3422, 19.5607, 71.9222)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A156DF #94DF56
analogous
#5C56DF #A156DF #DF56D8
triadic
#A156DF #DFA156 #56DFA1
tetradic
#A156DF #DF5C56 #94DF56 #56D8DF
square
#A156DF #DF5C56 #94DF56 #56D8DF
split-complementary
#A156DF #D8DF56 #56DF5C
monochromatic
#631E9D #8427D0 #A156DF #BE89E9 #DABDF2

Accessibility & contrast

On white

4.28
#A156DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#A156DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A156DF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A156DF#FFFFFF#000000##000000
##A156DF1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0378E3
Deuteranopia (green-blind)
#3A7BDC
Tritanopia (blue-blind)
#977293
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a156df;
/* rgb */ color: rgb(161, 86, 223);
/* oklch */ color: oklch(60.4% 0.204 306.5);
Tailwind
colors: {
  custom: {
    50: '#c189ea',
    500: '#a156df',
    950: '#000000',
  },
}
SCSS
$custom: #a156df;
$custom-light: #c189ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a156df",
  "rgb": {
    "r": 161,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 272.847,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60427,
    "c": 0.20412,
    "h": 306.5
  },
  "luminance": 0.1956
}

Semantic roles & 50–950 ramp

primary
#A156DF
secondary
#C6E2AE
accent
#D0156A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A156DF

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

Preview Lab → · Contrast checker → · Palette generator →

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