#A856EF#A856EF

#A856EF is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.3% C 0.223 H 305.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A856EF
RGBrgb(168, 86, 239)
HSLhsl(272, 83%, 64%)
HSVhsv(272, 64%, 94%)
CMYKcmyk(29.7%, 64%, 0%, 6.3%)
CIE-LABlab(53.18, 60.37, -64.07)
CIE-LCHlch(53.18, 88.03, 313.29°)
OKLaboklab(62.27% 0.1293 -0.1816)
OKLCHoklch(62.27% 0.223 305.5)
XYZxyz(35.0528, 21.2127, 83.8924)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A856EF #9DEF56
analogous
#5B56EF #A856EF #EF56E9
triadic
#A856EF #EFA856 #56EFA8
tetradic
#A856EF #EF5B56 #9DEF56 #56E9EF
square
#A856EF #EF5B56 #9DEF56 #56E9EF
split-complementary
#A856EF #E9EF56 #56EF5B
monochromatic
#6B12B9 #8B1EEA #A856EF #C58EF4 #E2C6FA

Accessibility & contrast

On white

4.01
#A856EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#A856EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A856EF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A856EF#FFFFFF#000000##000000
##A856EF1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#2E7FEC
Tritanopia (blue-blind)
#9C779B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a856ef;
/* rgb */ color: rgb(168, 86, 239);
/* oklch */ color: oklch(62.3% 0.223 305.5);
Tailwind
colors: {
  custom: {
    50: '#c68af5',
    500: '#a856ef',
    950: '#000000',
  },
}
SCSS
$custom: #a856ef;
$custom-light: #c68af5;
$custom-dark: #000000;
JSON
{
  "hex": "#a856ef",
  "rgb": {
    "r": 168,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 272.157,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62266,
    "c": 0.22291,
    "h": 305.5
  },
  "luminance": 0.21212
}

Semantic roles & 50–950 ramp

primary
#A856EF
secondary
#CEEBB5
accent
#DF066B
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A856EF

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

Preview Lab → · Contrast checker → · Palette generator →

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