#A256C8#A256C8

#A256C8 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.1% C 0.180 H 313.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A256C8
RGBrgb(162, 86, 200)
HSLhsl(280, 51%, 56%)
HSVhsv(280, 57%, 78%)
CMYKcmyk(19%, 57%, 0%, 21.6%)
CIE-LABlab(50.11, 50.31, -46.92)
CIE-LCHlch(50.11, 68.80, 317.00°)
OKLaboklab(59.12% 0.1225 -0.1315)
OKLCHoklch(59.12% 0.18 313)
XYZxyz(28.6516, 18.5078, 56.6954)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256C8 #7CC856
analogous
#6956C8 #A256C8 #C856B5
triadic
#A256C8 #C8A256 #56C8A2
tetradic
#A256C8 #C86956 #7CC856 #56B5C8
square
#A256C8 #C86956 #7CC856 #56B5C8
split-complementary
#A256C8 #B5C856 #56C869
monochromatic
#60287B #8337AA #A256C8 #BB84D7 #D5B2E6

Accessibility & contrast

On white

4.47
#A256C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#A256C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256C8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256C8#FFFFFF#000000##000000
##A256C81.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3473CC
Deuteranopia (green-blind)
#5079C5
Tritanopia (blue-blind)
#9E6A87
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a256c8;
/* rgb */ color: rgb(162, 86, 200);
/* oklch */ color: oklch(59.1% 0.180 313.0);
Tailwind
colors: {
  custom: {
    50: '#c089d9',
    500: '#a256c8',
    950: '#000000',
  },
}
SCSS
$custom: #a256c8;
$custom-light: #c089d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a256c8",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 280,
    "s": 50.893,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59122,
    "c": 0.17972,
    "h": 313
  },
  "luminance": 0.18507
}

Semantic roles & 50–950 ramp

primary
#A256C8
secondary
#B5D4A5
accent
#DA4D7C
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C15
muted
#827D83

Preview Lab

Preview with #A256C8

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

Preview Lab → · Contrast checker → · Palette generator →

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