#A856E2#A856E2

#A856E2 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.4% C 0.209 H 308.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A856E2
RGBrgb(168, 86, 226)
HSLhsl(275, 71%, 61%)
HSVhsv(275, 62%, 89%)
CMYKcmyk(25.7%, 61.9%, 0%, 11.4%)
CIE-LABlab(52.37, 57.45, -58.08)
CIE-LCHlch(52.37, 81.69, 314.69°)
OKLaboklab(61.42% 0.1301 -0.164)
OKLCHoklch(61.42% 0.209 308.4)
XYZxyz(33.2009, 20.4719, 74.1392)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A856E2 #90E256
analogous
#6256E2 #A856E2 #E256D6
triadic
#A856E2 #E2A856 #56E2A8
tetradic
#A856E2 #E26256 #90E256 #56D6E2
square
#A856E2 #E26256 #90E256 #56D6E2
split-complementary
#A856E2 #D6E256 #56E262
monochromatic
#6A1CA2 #8D25D6 #A856E2 #C38AEB #DEBEF4

Accessibility & contrast

On white

4.12
#A856E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#A856E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A856E2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A856E2#FFFFFF#000000##000000
##A856E21.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#067AE6
Deuteranopia (green-blind)
#407EDF
Tritanopia (blue-blind)
#9F7294
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a856e2;
/* rgb */ color: rgb(168, 86, 226);
/* oklch */ color: oklch(61.4% 0.209 308.4);
Tailwind
colors: {
  custom: {
    50: '#c68aec',
    500: '#a856e2',
    950: '#000000',
  },
}
SCSS
$custom: #a856e2;
$custom-light: #c68aec;
$custom-dark: #000000;
JSON
{
  "hex": "#a856e2",
  "rgb": {
    "r": 168,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 275.143,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61417,
    "c": 0.20929,
    "h": 308.4
  },
  "luminance": 0.20471
}

Semantic roles & 50–950 ramp

primary
#A856E2
secondary
#C5E4B0
accent
#D31362
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A856E2

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

Preview Lab → · Contrast checker → · Palette generator →

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