#A856E7#A856E7

#A856E7 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.7% C 0.215 H 307.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A856E7
RGBrgb(168, 86, 231)
HSLhsl(274, 75%, 62%)
HSVhsv(274, 63%, 91%)
CMYKcmyk(27.3%, 62.8%, 0%, 9.4%)
CIE-LABlab(52.68, 58.56, -60.40)
CIE-LCHlch(52.68, 84.13, 314.12°)
OKLaboklab(61.74% 0.1298 -0.1708)
OKLCHoklch(61.74% 0.215 307.2)
XYZxyz(33.8970, 20.7503, 77.8053)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A856E7 #95E756
analogous
#6056E7 #A856E7 #E756DE
triadic
#A856E7 #E7A856 #56E7A8
tetradic
#A856E7 #E76056 #95E756 #56DEE7
square
#A856E7 #E76056 #95E756 #56DEE7
split-complementary
#A856E7 #DEE756 #56E760
monochromatic
#6B18AA #8C20DF #A856E7 #C48CEF #DFC1F6

Accessibility & contrast

On white

4.08
#A856E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#A856E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A856E7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A856E7#FFFFFF#000000##000000
##A856E71.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#3A7EE4
Tritanopia (blue-blind)
#9E7497
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a856e7;
/* rgb */ color: rgb(168, 86, 231);
/* oklch */ color: oklch(61.7% 0.215 307.2);
Tailwind
colors: {
  custom: {
    50: '#c68aef',
    500: '#a856e7',
    950: '#000000',
  },
}
SCSS
$custom: #a856e7;
$custom-light: #c68aef;
$custom-dark: #000000;
JSON
{
  "hex": "#a856e7",
  "rgb": {
    "r": 168,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 273.931,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61739,
    "c": 0.21452,
    "h": 307.2
  },
  "luminance": 0.2075
}

Semantic roles & 50–950 ramp

primary
#A856E7
secondary
#C9E7B2
accent
#D70E66
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A856E7

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

Preview Lab → · Contrast checker → · Palette generator →

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