#A256BD#A256BD

#A256BD is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.5% C 0.168 H 316.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A256BD
RGBrgb(162, 86, 189)
HSLhsl(284, 44%, 54%)
HSVhsv(284, 54%, 74%)
CMYKcmyk(14.3%, 54.5%, 0%, 25.9%)
CIE-LABlab(49.51, 47.97, -41.52)
CIE-LCHlch(49.51, 63.45, 319.12°)
OKLaboklab(58.49% 0.1219 -0.1157)
OKLCHoklch(58.49% 0.168 316.5)
XYZxyz(27.4120, 18.0120, 50.1669)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256BD #71BD56
analogous
#6F56BD #A256BD #BD56A5
triadic
#A256BD #BDA256 #56BDA2
tetradic
#A256BD #BD6F56 #71BD56 #56A5BD
square
#A256BD #BD6F56 #71BD56 #56A5BD
split-complementary
#A256BD #A5BD56 #56BD6F
monochromatic
#5C2B6E #813C9A #A256BD #BA82CE #D2AEDF

Accessibility & contrast

On white

4.56
#A256BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#A256BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256BD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256BD#FFFFFF#000000##000000
##A256BD1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E71C0
Deuteranopia (green-blind)
#5878BA
Tritanopia (blue-blind)
#A16681
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a256bd;
/* rgb */ color: rgb(162, 86, 189);
/* oklch */ color: oklch(58.5% 0.168 316.5);
Tailwind
colors: {
  custom: {
    50: '#c089d1',
    500: '#a256bd',
    950: '#000000',
  },
}
SCSS
$custom: #a256bd;
$custom-light: #c089d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a256bd",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 284.272,
    "s": 43.83,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58493,
    "c": 0.16806,
    "h": 316.5
  },
  "luminance": 0.18011
}

Semantic roles & 50–950 ramp

primary
#A256BD
secondary
#ADCDA1
accent
#D45476
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A256BD

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

Preview Lab → · Contrast checker → · Palette generator →

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