#A156CF#A156CF

#A156CF is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.4% C 0.187 H 310.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A156CF
RGBrgb(161, 86, 207)
HSLhsl(277, 56%, 57%)
HSVhsv(277, 58%, 81%)
CMYKcmyk(22.2%, 58.5%, 0%, 18.8%)
CIE-LABlab(50.38, 51.59, -50.51)
CIE-LCHlch(50.38, 72.20, 315.61°)
OKLaboklab(59.42% 0.1215 -0.142)
OKLCHoklch(59.42% 0.187 310.5)
XYZxyz(29.2861, 18.7382, 61.0935)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A156CF #84CF56
analogous
#6556CF #A156CF #CF56C0
triadic
#A156CF #CFA156 #56CFA1
tetradic
#A156CF #CF6556 #84CF56 #56C0CF
square
#A156CF #CF6556 #84CF56 #56C0CF
split-complementary
#A156CF #C0CF56 #56CF65
monochromatic
#612685 #8333B5 #A156CF #BC86DD #D6B5EA

Accessibility & contrast

On white

4.42
#A156CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#A156CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A156CF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A156CF#FFFFFF#000000##000000
##A156CF1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B74D3
Deuteranopia (green-blind)
#4A79CC
Tritanopia (blue-blind)
#9B6C8A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a156cf;
/* rgb */ color: rgb(161, 86, 207);
/* oklch */ color: oklch(59.4% 0.187 310.5);
Tailwind
colors: {
  custom: {
    50: '#c089de',
    500: '#a156cf',
    950: '#000000',
  },
}
SCSS
$custom: #a156cf;
$custom-light: #c089de;
$custom-dark: #000000;
JSON
{
  "hex": "#a156cf",
  "rgb": {
    "r": 161,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 277.19,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59423,
    "c": 0.18687,
    "h": 310.5
  },
  "luminance": 0.18738
}

Semantic roles & 50–950 ramp

primary
#A156CF
secondary
#BBD9A8
accent
#DF4982
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A156CF

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

Preview Lab → · Contrast checker → · Palette generator →

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