#A156EF#A156EF

#A156EF is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.5% C 0.221 H 302.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A156EF
RGBrgb(161, 86, 239)
HSLhsl(269, 83%, 64%)
HSVhsv(269, 64%, 94%)
CMYKcmyk(32.6%, 64%, 0%, 6.3%)
CIE-LABlab(52.36, 58.90, -65.44)
CIE-LCHlch(52.36, 88.04, 311.99°)
OKLaboklab(61.49% 0.1203 -0.1858)
OKLCHoklch(61.49% 0.221 302.9)
XYZxyz(33.6021, 20.4646, 83.8244)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A156EF #A4EF56
analogous
#5657EF #A156EF #EE56EF
triadic
#A156EF #EFA156 #56EFA1
tetradic
#A156EF #EF5657 #A4EF56 #56EFEE
square
#A156EF #EF5657 #A4EF56 #56EFEE
split-complementary
#A156EF #EFEE56 #57EF56
monochromatic
#6412B9 #821EEA #A156EF #C08EF4 #DFC6FA

Accessibility & contrast

On white

4.12
#A156EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#A156EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A156EF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A156EF#FFFFFF#000000##000000
##A156EF1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#207DEC
Tritanopia (blue-blind)
#92779B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a156ef;
/* rgb */ color: rgb(161, 86, 239);
/* oklch */ color: oklch(61.5% 0.221 302.9);
Tailwind
colors: {
  custom: {
    50: '#c28af5',
    500: '#a156ef',
    950: '#000000',
  },
}
SCSS
$custom: #a156ef;
$custom-light: #c28af5;
$custom-dark: #000000;
JSON
{
  "hex": "#a156ef",
  "rgb": {
    "r": 161,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 269.412,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61492,
    "c": 0.22136,
    "h": 302.9
  },
  "luminance": 0.20465
}

Semantic roles & 50–950 ramp

primary
#A156EF
secondary
#D1EBB5
accent
#DF0675
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A156EF

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

Preview Lab → · Contrast checker → · Palette generator →

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