#A856E1#A856E1

#A856E1 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.4% C 0.208 H 308.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A856E1
RGBrgb(168, 86, 225)
HSLhsl(275, 70%, 61%)
HSVhsv(275, 62%, 88%)
CMYKcmyk(25.3%, 61.8%, 0%, 11.8%)
CIE-LABlab(52.31, 57.23, -57.61)
CIE-LCHlch(52.31, 81.20, 314.81°)
OKLaboklab(61.35% 0.1301 -0.1626)
OKLCHoklch(61.35% 0.208 308.7)
XYZxyz(33.0641, 20.4172, 73.4187)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A856E1 #8FE156
analogous
#6256E1 #A856E1 #E156D4
triadic
#A856E1 #E1A856 #56E1A8
tetradic
#A856E1 #E16256 #8FE156 #56D4E1
square
#A856E1 #E16256 #8FE156 #56D4E1
split-complementary
#A856E1 #D4E156 #56E162
monochromatic
#6A1CA0 #8D26D4 #A856E1 #C38AEA #DEBEF3

Accessibility & contrast

On white

4.13
#A856E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#A856E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A856E1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A856E1#FFFFFF#000000##000000
##A856E11.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B79E5
Deuteranopia (green-blind)
#417EDE
Tritanopia (blue-blind)
#A07294
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a856e1;
/* rgb */ color: rgb(168, 86, 225);
/* oklch */ color: oklch(61.4% 0.208 308.7);
Tailwind
colors: {
  custom: {
    50: '#c68aeb',
    500: '#a856e1',
    950: '#000000',
  },
}
SCSS
$custom: #a856e1;
$custom-light: #c68aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#a856e1",
  "rgb": {
    "r": 168,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 275.396,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61353,
    "c": 0.20823,
    "h": 308.7
  },
  "luminance": 0.20417
}

Semantic roles & 50–950 ramp

primary
#A856E1
secondary
#C5E4AF
accent
#D21462
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A856E1

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

Preview Lab → · Contrast checker → · Palette generator →

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