#A856E5#A856E5

#A856E5 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.6% C 0.212 H 307.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#A856E5
RGBrgb(168, 86, 229)
HSLhsl(274, 73%, 62%)
HSVhsv(274, 62%, 90%)
CMYKcmyk(26.6%, 62.4%, 0%, 10.2%)
CIE-LABlab(52.55, 58.12, -59.47)
CIE-LCHlch(52.55, 83.15, 314.34°)
OKLaboklab(61.61% 0.1299 -0.168)
OKLCHoklch(61.61% 0.212 307.7)
XYZxyz(33.6162, 20.6380, 76.3262)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A856E5 #93E556
analogous
#6156E5 #A856E5 #E556DA
triadic
#A856E5 #E5A856 #56E5A8
tetradic
#A856E5 #E56156 #93E556 #56DAE5
square
#A856E5 #E56156 #93E556 #56DAE5
split-complementary
#A856E5 #DAE556 #56E561
monochromatic
#6B1AA7 #8D22DC #A856E5 #C38BED #DFC0F5

Accessibility & contrast

On white

4.10
#A856E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#A856E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A856E5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A856E5#FFFFFF#000000##000000
##A856E51.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#3C7EE2
Tritanopia (blue-blind)
#9F7396
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a856e5;
/* rgb */ color: rgb(168, 86, 229);
/* oklch */ color: oklch(61.6% 0.212 307.7);
Tailwind
colors: {
  custom: {
    50: '#c68aee',
    500: '#a856e5',
    950: '#000000',
  },
}
SCSS
$custom: #a856e5;
$custom-light: #c68aee;
$custom-dark: #000000;
JSON
{
  "hex": "#a856e5",
  "rgb": {
    "r": 168,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 274.406,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6161,
    "c": 0.21243,
    "h": 307.7
  },
  "luminance": 0.20638
}

Semantic roles & 50–950 ramp

primary
#A856E5
secondary
#C8E6B1
accent
#D51064
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A856E5

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

Preview Lab → · Contrast checker → · Palette generator →

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