#A156E7#A156E7

#A156E7 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.0% C 0.213 H 304.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A156E7
RGBrgb(161, 86, 231)
HSLhsl(271, 75%, 62%)
HSVhsv(271, 63%, 91%)
CMYKcmyk(30.3%, 62.8%, 0%, 9.4%)
CIE-LABlab(51.84, 57.03, -61.79)
CIE-LCHlch(51.84, 84.09, 312.71°)
OKLaboklab(60.95% 0.1209 -0.1751)
OKLCHoklch(60.95% 0.213 304.6)
XYZxyz(32.4463, 20.0023, 77.7373)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A156E7 #9CE756
analogous
#5856E7 #A156E7 #E756E5
triadic
#A156E7 #E7A156 #56E7A1
tetradic
#A156E7 #E75856 #9CE756 #56E5E7
square
#A156E7 #E75856 #9CE756 #56E5E7
split-complementary
#A156E7 #E5E756 #56E758
monochromatic
#6418AA #8320DF #A156E7 #BF8CEF #DDC1F6

Accessibility & contrast

On white

4.20
#A156E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#A156E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A156E7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A156E7#FFFFFF#000000##000000
##A156E71.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#2F7CE4
Tritanopia (blue-blind)
#947597
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a156e7;
/* rgb */ color: rgb(161, 86, 231);
/* oklch */ color: oklch(61.0% 0.213 304.6);
Tailwind
colors: {
  custom: {
    50: '#c18aef',
    500: '#a156e7',
    950: '#000000',
  },
}
SCSS
$custom: #a156e7;
$custom-light: #c18aef;
$custom-dark: #000000;
JSON
{
  "hex": "#a156e7",
  "rgb": {
    "r": 161,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 271.034,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60952,
    "c": 0.21276,
    "h": 304.6
  },
  "luminance": 0.20002
}

Semantic roles & 50–950 ramp

primary
#A156E7
secondary
#CBE7B2
accent
#D70E6F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A156E7

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

Preview Lab → · Contrast checker → · Palette generator →

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