#A256BC#A256BC

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

Color values

HEX#A256BC
RGBrgb(162, 86, 188)
HSLhsl(285, 43%, 54%)
HSVhsv(285, 54%, 74%)
CMYKcmyk(13.8%, 54.3%, 0%, 26.3%)
CIE-LABlab(49.46, 47.77, -41.03)
CIE-LCHlch(49.46, 62.97, 319.34°)
OKLaboklab(58.44% 0.1218 -0.1143)
OKLCHoklch(58.44% 0.167 316.8)
XYZxyz(27.3039, 17.9687, 49.5972)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256BC #70BC56
analogous
#6F56BC #A256BC #BC56A3
triadic
#A256BC #BCA256 #56BCA2
tetradic
#A256BC #BC6F56 #70BC56 #56A3BC
square
#A256BC #BC6F56 #70BC56 #56A3BC
split-complementary
#A256BC #A3BC56 #56BC6F
monochromatic
#5C2B6D #813C98 #A256BC #BA82CD #D2AEDF

Accessibility & contrast

On white

4.57
#A256BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A256BC#FFFFFF#000000##000000
##A256BC1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a256bc;
/* rgb */ color: rgb(162, 86, 188);
/* oklch */ color: oklch(58.4% 0.167 316.8);
Tailwind
colors: {
  custom: {
    50: '#c089d0',
    500: '#a256bc',
    950: '#000000',
  },
}
SCSS
$custom: #a256bc;
$custom-light: #c089d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a256bc",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 284.706,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58437,
    "c": 0.167,
    "h": 316.8
  },
  "luminance": 0.17968
}

Semantic roles & 50–950 ramp

primary
#A256BC
secondary
#ACCDA1
accent
#D35575
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A256BC

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

Preview Lab → · Contrast checker → · Palette generator →

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