#A256BB#A256BB

#A256BB is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.4% C 0.166 H 317.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A256BB
RGBrgb(162, 86, 187)
HSLhsl(285, 43%, 54%)
HSVhsv(285, 54%, 73%)
CMYKcmyk(13.4%, 54%, 0%, 26.7%)
CIE-LABlab(49.41, 47.56, -40.53)
CIE-LCHlch(49.41, 62.48, 319.56°)
OKLaboklab(58.38% 0.1217 -0.1128)
OKLCHoklch(58.38% 0.166 317.2)
XYZxyz(27.1964, 17.9258, 49.0315)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256BB #6FBB56
analogous
#6F56BB #A256BB #BB56A1
triadic
#A256BB #BBA256 #56BBA2
tetradic
#A256BB #BB6F56 #6FBB56 #56A1BB
square
#A256BB #BB6F56 #6FBB56 #56A1BB
split-complementary
#A256BB #A1BB56 #56BB6F
monochromatic
#5C2B6B #813D97 #A256BB #BA82CD #D2ADDE

Accessibility & contrast

On white

4.58
#A256BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#A256BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256BB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256BB#FFFFFF#000000##000000
##A256BB1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4071BE
Deuteranopia (green-blind)
#5978B8
Tritanopia (blue-blind)
#A16680
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a256bb;
/* rgb */ color: rgb(162, 86, 187);
/* oklch */ color: oklch(58.4% 0.166 317.2);
Tailwind
colors: {
  custom: {
    50: '#c089d0',
    500: '#a256bb',
    950: '#000000',
  },
}
SCSS
$custom: #a256bb;
$custom-light: #c089d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a256bb",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 285.149,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58382,
    "c": 0.16596,
    "h": 317.2
  },
  "luminance": 0.17925
}

Semantic roles & 50–950 ramp

primary
#A256BB
secondary
#ABCCA1
accent
#D25574
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A256BB

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

Preview Lab → · Contrast checker → · Palette generator →

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