#A856EA#A856EA

#A856EA is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.9% C 0.218 H 306.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A856EA
RGBrgb(168, 86, 234)
HSLhsl(273, 78%, 63%)
HSVhsv(273, 63%, 92%)
CMYKcmyk(28.2%, 63.2%, 0%, 8.2%)
CIE-LABlab(52.86, 59.24, -61.78)
CIE-LCHlch(52.86, 85.59, 313.79°)
OKLaboklab(61.93% 0.1297 -0.1748)
OKLCHoklch(61.93% 0.218 306.6)
XYZxyz(34.3244, 20.9213, 80.0559)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A856EA #98EA56
analogous
#5E56EA #A856EA #EA56E2
triadic
#A856EA #EAA856 #56EAA8
tetradic
#A856EA #EA5E56 #98EA56 #56E2EA
square
#A856EA #EA5E56 #98EA56 #56E2EA
split-complementary
#A856EA #E2EA56 #56EA5E
monochromatic
#6B16B0 #8C20E3 #A856EA #C48CF1 #E0C3F8

Accessibility & contrast

On white

4.05
#A856EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#A856EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A856EA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A856EA#FFFFFF#000000##000000
##A856EA1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#367FE7
Tritanopia (blue-blind)
#9D7598
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a856ea;
/* rgb */ color: rgb(168, 86, 234);
/* oklch */ color: oklch(61.9% 0.218 306.6);
Tailwind
colors: {
  custom: {
    50: '#c68af1',
    500: '#a856ea',
    950: '#000000',
  },
}
SCSS
$custom: #a856ea;
$custom-light: #c68af1;
$custom-dark: #000000;
JSON
{
  "hex": "#a856ea",
  "rgb": {
    "r": 168,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 273.243,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61935,
    "c": 0.21767,
    "h": 306.6
  },
  "luminance": 0.20921
}

Semantic roles & 50–950 ramp

primary
#A856EA
secondary
#CBE9B3
accent
#DA0B68
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A856EA

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

Preview Lab → · Contrast checker → · Palette generator →

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