#A256B2#A256B2

#A256B2 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 57.9% C 0.157 H 320.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A256B2
RGBrgb(162, 86, 178)
HSLhsl(290, 37%, 52%)
HSVhsv(290, 52%, 70%)
CMYKcmyk(9%, 51.7%, 0%, 30.2%)
CIE-LABlab(48.95, 45.71, -36.01)
CIE-LCHlch(48.95, 58.20, 321.77°)
OKLaboklab(57.9% 0.1207 -0.0998)
OKLCHoklch(57.9% 0.157 320.4)
XYZxyz(26.2630, 17.5524, 44.1154)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256B2 #66B256
analogous
#7456B2 #A256B2 #B25694
triadic
#A256B2 #B2A256 #56B2A2
tetradic
#A256B2 #B27456 #66B256 #5694B2
square
#A256B2 #B27456 #66B256 #5694B2
split-complementary
#A256B2 #94B256 #56B274
monochromatic
#582C61 #7E3F8B #A256B2 #B980C5 #D0AAD8

Accessibility & contrast

On white

4.66
#A256B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#A256B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A256B2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256B2#FFFFFF#000000##FFFFFF
##A256B21.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466FB5
Deuteranopia (green-blind)
#5E77AF
Tritanopia (blue-blind)
#A3637C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a256b2;
/* rgb */ color: rgb(162, 86, 178);
/* oklch */ color: oklch(57.9% 0.157 320.4);
Tailwind
colors: {
  custom: {
    50: '#c089c9',
    500: '#a256b2',
    950: '#000000',
  },
}
SCSS
$custom: #a256b2;
$custom-light: #c089c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a256b2",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 289.565,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57896,
    "c": 0.15661,
    "h": 320.4
  },
  "luminance": 0.17551
}

Semantic roles & 50–950 ramp

primary
#A256B2
secondary
#A5C69E
accent
#CD5A6E
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #A256B2

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

Preview Lab → · Contrast checker → · Palette generator →

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