#A256C5#A256C5

#A256C5 is a mid, vivid purple. Relative luminance 0.184; OKLCH L 58.9% C 0.177 H 313.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A256C5
RGBrgb(162, 86, 197)
HSLhsl(281, 49%, 55%)
HSVhsv(281, 56%, 77%)
CMYKcmyk(17.8%, 56.3%, 0%, 22.7%)
CIE-LABlab(49.94, 49.67, -45.46)
CIE-LCHlch(49.94, 67.33, 317.53°)
OKLaboklab(58.95% 0.1224 -0.1272)
OKLCHoklch(58.95% 0.177 313.9)
XYZxyz(28.3044, 18.3690, 54.8671)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256C5 #79C556
analogous
#6A56C5 #A256C5 #C556B1
triadic
#A256C5 #C5A256 #56C5A2
tetradic
#A256C5 #C56A56 #79C556 #56B1C5
square
#A256C5 #C56A56 #79C556 #56B1C5
split-complementary
#A256C5 #B1C556 #56C56A
monochromatic
#5F2978 #8339A5 #A256C5 #BB84D5 #D4B1E4

Accessibility & contrast

On white

4.49
#A256C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#A256C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256C5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256C5#FFFFFF#000000##000000
##A256C51.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3773C9
Deuteranopia (green-blind)
#5379C2
Tritanopia (blue-blind)
#9F6985
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a256c5;
/* rgb */ color: rgb(162, 86, 197);
/* oklch */ color: oklch(58.9% 0.177 313.9);
Tailwind
colors: {
  custom: {
    50: '#c089d7',
    500: '#a256c5',
    950: '#000000',
  },
}
SCSS
$custom: #a256c5;
$custom-light: #c089d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a256c5",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 197
  },
  "hsl": {
    "h": 281.081,
    "s": 48.899,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58947,
    "c": 0.17653,
    "h": 313.9
  },
  "luminance": 0.18368
}

Semantic roles & 50–950 ramp

primary
#A256C5
secondary
#B3D3A4
accent
#D84F7B
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #A256C5

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

Preview Lab → · Contrast checker → · Palette generator →

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