#A856E8#A856E8

#A856E8 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.8% C 0.216 H 307.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A856E8
RGBrgb(168, 86, 232)
HSLhsl(274, 76%, 62%)
HSVhsv(274, 63%, 91%)
CMYKcmyk(27.6%, 62.9%, 0%, 9%)
CIE-LABlab(52.74, 58.79, -60.86)
CIE-LCHlch(52.74, 84.62, 314.01°)
OKLaboklab(61.8% 0.1298 -0.1721)
OKLCHoklch(61.8% 0.216 307)
XYZxyz(34.0387, 20.8070, 78.5513)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A856E8 #96E856
analogous
#5F56E8 #A856E8 #E856DF
triadic
#A856E8 #E8A856 #56E8A8
tetradic
#A856E8 #E85F56 #96E856 #56DFE8
square
#A856E8 #E85F56 #96E856 #56DFE8
split-complementary
#A856E8 #DFE856 #56E85F
monochromatic
#6B17AC #8C20E1 #A856E8 #C48CEF #DFC2F7

Accessibility & contrast

On white

4.07
#A856E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#A856E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A856E8
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A856E8#FFFFFF#000000##000000
##A856E81.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BED
Deuteranopia (green-blind)
#387FE5
Tritanopia (blue-blind)
#9E7497
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a856e8;
/* rgb */ color: rgb(168, 86, 232);
/* oklch */ color: oklch(61.8% 0.216 307.0);
Tailwind
colors: {
  custom: {
    50: '#c68af0',
    500: '#a856e8',
    950: '#000000',
  },
}
SCSS
$custom: #a856e8;
$custom-light: #c68af0;
$custom-dark: #000000;
JSON
{
  "hex": "#a856e8",
  "rgb": {
    "r": 168,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 273.699,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61804,
    "c": 0.21558,
    "h": 307
  },
  "luminance": 0.20807
}

Semantic roles & 50–950 ramp

primary
#A856E8
secondary
#CAE8B2
accent
#D80D66
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A856E8

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

Preview Lab → · Contrast checker → · Palette generator →

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