#A256D6#A256D6

#A256D6 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 60.0% C 0.195 H 309.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A256D6
RGBrgb(162, 86, 214)
HSLhsl(276, 61%, 59%)
HSVhsv(276, 60%, 84%)
CMYKcmyk(24.3%, 59.8%, 0%, 16.1%)
CIE-LABlab(50.91, 53.39, -53.65)
CIE-LCHlch(50.91, 75.69, 314.86°)
OKLaboklab(59.97% 0.1228 -0.1511)
OKLCHoklch(59.97% 0.195 309.1)
XYZxyz(30.3633, 19.1925, 65.7103)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256D6 #8AD656
analogous
#6256D6 #A256D6 #D656CA
triadic
#A256D6 #D6A256 #56D6A2
tetradic
#A256D6 #D66256 #8AD656 #56CAD6
square
#A256D6 #D66256 #8AD656 #56CAD6
split-complementary
#A256D6 #CAD656 #56D662
monochromatic
#63238F #852FC0 #A256D6 #BD87E2 #D8B9EE

Accessibility & contrast

On white

4.34
#A256D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#A256D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256D6
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256D6#FFFFFF#000000##000000
##A256D61.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2176DA
Deuteranopia (green-blind)
#457AD3
Tritanopia (blue-blind)
#9B6F8E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a256d6;
/* rgb */ color: rgb(162, 86, 214);
/* oklch */ color: oklch(60.0% 0.195 309.1);
Tailwind
colors: {
  custom: {
    50: '#c189e3',
    500: '#a256d6',
    950: '#000000',
  },
}
SCSS
$custom: #a256d6;
$custom-light: #c189e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a256d6",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 214
  },
  "hsl": {
    "h": 275.625,
    "s": 60.952,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5997,
    "c": 0.19472,
    "h": 309.1
  },
  "luminance": 0.19192
}

Semantic roles & 50–950 ramp

primary
#A256D6
secondary
#BFDDAB
accent
#E44485
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C15
muted
#827D84

Preview Lab

Preview with #A256D6

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

Preview Lab → · Contrast checker → · Palette generator →

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