#A156E9#A156E9

#A156E9 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.1% C 0.215 H 304.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A156E9
RGBrgb(161, 86, 233)
HSLhsl(271, 77%, 63%)
HSVhsv(271, 63%, 91%)
CMYKcmyk(30.9%, 63.1%, 0%, 8.6%)
CIE-LABlab(51.97, 57.50, -62.71)
CIE-LCHlch(51.97, 85.08, 312.52°)
OKLaboklab(61.09% 0.1208 -0.1778)
OKLCHoklch(61.09% 0.215 304.2)
XYZxyz(32.7304, 20.1160, 79.2335)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A156E9 #9EE956
analogous
#5756E9 #A156E9 #E956E8
triadic
#A156E9 #E9A156 #56E9A1
tetradic
#A156E9 #E95756 #9EE956 #56E8E9
square
#A156E9 #E95756 #9EE956 #56E8E9
split-complementary
#A156E9 #E8E956 #56E957
monochromatic
#6417AE #8320E2 #A156E9 #BF8CF0 #DDC2F7

Accessibility & contrast

On white

4.18
#A156E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#A156E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A156E9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A156E9#FFFFFF#000000##000000
##A156E91.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#2C7CE6
Tritanopia (blue-blind)
#947598
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a156e9;
/* rgb */ color: rgb(161, 86, 233);
/* oklch */ color: oklch(61.1% 0.215 304.2);
Tailwind
colors: {
  custom: {
    50: '#c18af1',
    500: '#a156e9',
    950: '#000000',
  },
}
SCSS
$custom: #a156e9;
$custom-light: #c18af1;
$custom-dark: #000000;
JSON
{
  "hex": "#a156e9",
  "rgb": {
    "r": 161,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 270.612,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61086,
    "c": 0.2149,
    "h": 304.2
  },
  "luminance": 0.20116
}

Semantic roles & 50–950 ramp

primary
#A156E9
secondary
#CDE8B3
accent
#D90C71
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A156E9

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

Preview Lab → · Contrast checker → · Palette generator →

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