#A156CE#A156CE

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

Color values

HEX#A156CE
RGBrgb(161, 86, 206)
HSLhsl(278, 55%, 57%)
HSVhsv(278, 58%, 81%)
CMYKcmyk(21.8%, 58.3%, 0%, 19.2%)
CIE-LABlab(50.32, 51.37, -50.03)
CIE-LCHlch(50.32, 71.71, 315.76°)
OKLaboklab(59.36% 0.1215 -0.1406)
OKLCHoklch(59.36% 0.186 310.8)
XYZxyz(29.1642, 18.6895, 60.4516)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A156CE #83CE56
analogous
#6556CE #A156CE #CE56BF
triadic
#A156CE #CEA156 #56CEA1
tetradic
#A156CE #CE6556 #83CE56 #56BFCE
square
#A156CE #CE6556 #83CE56 #56BFCE
split-complementary
#A156CE #BFCE56 #56CE65
monochromatic
#602683 #8334B3 #A156CE #BB85DC #D6B5EA

Accessibility & contrast

On white

4.43
#A156CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#A156CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A156CE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A156CE#FFFFFF#000000##000000
##A156CE1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a156ce;
/* rgb */ color: rgb(161, 86, 206);
/* oklch */ color: oklch(59.4% 0.186 310.8);
Tailwind
colors: {
  custom: {
    50: '#c089dd',
    500: '#a156ce',
    950: '#000000',
  },
}
SCSS
$custom: #a156ce;
$custom-light: #c089dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a156ce",
  "rgb": {
    "r": 161,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 277.5,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59363,
    "c": 0.18579,
    "h": 310.8
  },
  "luminance": 0.18689
}

Semantic roles & 50–950 ramp

primary
#A156CE
secondary
#BAD8A8
accent
#DE4981
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A156CE

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

Preview Lab → · Contrast checker → · Palette generator →

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