#A856CB#A856CB

#A856CB is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.0% C 0.185 H 314.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A856CB
RGBrgb(168, 86, 203)
HSLhsl(282, 53%, 57%)
HSVhsv(282, 58%, 80%)
CMYKcmyk(17.2%, 57.6%, 0%, 20.4%)
CIE-LABlab(51.03, 52.48, -47.13)
CIE-LCHlch(51.03, 70.54, 318.07°)
OKLaboklab(60.01% 0.1301 -0.1319)
OKLCHoklch(60.01% 0.185 314.6)
XYZxyz(30.2540, 19.2931, 58.6186)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A856CB #79CB56
analogous
#6E56CB #A856CB #CB56B4
triadic
#A856CB #CBA856 #56CBA8
tetradic
#A856CB #CB6E56 #79CB56 #56B4CB
square
#A856CB #CB6E56 #79CB56 #56B4CB
split-complementary
#A856CB #B4CB56 #56CB6E
monochromatic
#65277F #8A36AE #A856CB #C085D9 #D8B4E8

Accessibility & contrast

On white

4.32
#A856CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#A856CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A856CB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A856CB#FFFFFF#000000##000000
##A856CB1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3575CF
Deuteranopia (green-blind)
#547CC8
Tritanopia (blue-blind)
#A56A88
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a856cb;
/* rgb */ color: rgb(168, 86, 203);
/* oklch */ color: oklch(60.0% 0.185 314.6);
Tailwind
colors: {
  custom: {
    50: '#c589db',
    500: '#a856cb',
    950: '#000000',
  },
}
SCSS
$custom: #a856cb;
$custom-light: #c589db;
$custom-dark: #000000;
JSON
{
  "hex": "#a856cb",
  "rgb": {
    "r": 168,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 282.051,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60013,
    "c": 0.18525,
    "h": 314.6
  },
  "luminance": 0.19292
}

Semantic roles & 50–950 ramp

primary
#A856CB
secondary
#B5D6A6
accent
#DC4B77
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A856CB

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

Preview Lab → · Contrast checker → · Palette generator →

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