#A856EB#A856EB

#A856EB is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.0% C 0.219 H 306.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A856EB
RGBrgb(168, 86, 235)
HSLhsl(273, 79%, 63%)
HSVhsv(273, 63%, 92%)
CMYKcmyk(28.5%, 63.4%, 0%, 7.8%)
CIE-LABlab(52.93, 59.46, -62.24)
CIE-LCHlch(52.93, 86.08, 313.69°)
OKLaboklab(62% 0.1296 -0.1762)
OKLCHoklch(62% 0.219 306.3)
XYZxyz(34.4684, 20.9789, 80.8147)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A856EB #99EB56
analogous
#5D56EB #A856EB #EB56E4
triadic
#A856EB #EBA856 #56EBA8
tetradic
#A856EB #EB5D56 #99EB56 #56E4EB
square
#A856EB #EB5D56 #99EB56 #56E4EB
split-complementary
#A856EB #E4EB56 #56EB5D
monochromatic
#6B15B2 #8C1FE5 #A856EB #C48DF1 #E0C3F8

Accessibility & contrast

On white

4.04
#A856EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#A856EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A856EB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A856EB#FFFFFF#000000##000000
##A856EB1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#347FE8
Tritanopia (blue-blind)
#9D7599
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a856eb;
/* rgb */ color: rgb(168, 86, 235);
/* oklch */ color: oklch(62.0% 0.219 306.3);
Tailwind
colors: {
  custom: {
    50: '#c68af2',
    500: '#a856eb',
    950: '#000000',
  },
}
SCSS
$custom: #a856eb;
$custom-light: #c68af2;
$custom-dark: #000000;
JSON
{
  "hex": "#a856eb",
  "rgb": {
    "r": 168,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 273.02,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62001,
    "c": 0.21872,
    "h": 306.3
  },
  "luminance": 0.20979
}

Semantic roles & 50–950 ramp

primary
#A856EB
secondary
#CCE9B4
accent
#DB0A68
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A856EB

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

Preview Lab → · Contrast checker → · Palette generator →

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