#A256BA#A256BA

#A256BA is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.3% C 0.165 H 317.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A256BA
RGBrgb(162, 86, 186)
HSLhsl(286, 42%, 53%)
HSVhsv(286, 54%, 73%)
CMYKcmyk(12.9%, 53.8%, 0%, 27.1%)
CIE-LABlab(49.35, 47.35, -40.03)
CIE-LCHlch(49.35, 62.00, 319.79°)
OKLaboklab(58.33% 0.1216 -0.1114)
OKLCHoklch(58.33% 0.165 317.5)
XYZxyz(27.0898, 17.8831, 48.4696)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256BA #6EBA56
analogous
#7056BA #A256BA #BA56A0
triadic
#A256BA #BAA256 #56BAA2
tetradic
#A256BA #BA7056 #6EBA56 #56A0BA
square
#A256BA #BA7056 #6EBA56 #56A0BA
split-complementary
#A256BA #A0BA56 #56BA70
monochromatic
#5B2B6A #803D96 #A256BA #BA81CC #D2ADDD

Accessibility & contrast

On white

4.59
#A256BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#A256BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A256BA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256BA#FFFFFF#000000##FFFFFF
##A256BA1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4170BD
Deuteranopia (green-blind)
#5978B7
Tritanopia (blue-blind)
#A16580
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a256ba;
/* rgb */ color: rgb(162, 86, 186);
/* oklch */ color: oklch(58.3% 0.165 317.5);
Tailwind
colors: {
  custom: {
    50: '#c089cf',
    500: '#a256ba',
    950: '#000000',
  },
}
SCSS
$custom: #a256ba;
$custom-light: #c089cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a256ba",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 186
  },
  "hsl": {
    "h": 285.6,
    "s": 42.017,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58326,
    "c": 0.16491,
    "h": 317.5
  },
  "luminance": 0.17882
}

Semantic roles & 50–950 ramp

primary
#A256BA
secondary
#ABCBA0
accent
#D25674
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A256BA

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

Preview Lab → · Contrast checker → · Palette generator →

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