#A256CE#A256CE

#A256CE is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.5% C 0.186 H 311.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A256CE
RGBrgb(162, 86, 206)
HSLhsl(278, 55%, 57%)
HSVhsv(278, 58%, 81%)
CMYKcmyk(21.4%, 58.3%, 0%, 19.2%)
CIE-LABlab(50.45, 51.62, -49.83)
CIE-LCHlch(50.45, 71.74, 316.01°)
OKLaboklab(59.48% 0.1227 -0.14)
OKLCHoklch(59.48% 0.186 311.2)
XYZxyz(29.3666, 18.7938, 60.4611)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256CE #82CE56
analogous
#6656CE #A256CE #CE56BE
triadic
#A256CE #CEA256 #56CEA2
tetradic
#A256CE #CE6656 #82CE56 #56BECE
square
#A256CE #CE6656 #82CE56 #56BECE
split-complementary
#A256CE #BECE56 #56CE66
monochromatic
#612683 #8434B3 #A256CE #BC85DC #D6B5EA

Accessibility & contrast

On white

4.41
#A256CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#A256CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256CE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256CE#FFFFFF#000000##000000
##A256CE1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D2
Deuteranopia (green-blind)
#4C7ACB
Tritanopia (blue-blind)
#9D6C8A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a256ce;
/* rgb */ color: rgb(162, 86, 206);
/* oklch */ color: oklch(59.5% 0.186 311.2);
Tailwind
colors: {
  custom: {
    50: '#c189dd',
    500: '#a256ce',
    950: '#000000',
  },
}
SCSS
$custom: #a256ce;
$custom-light: #c189dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a256ce",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 278,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5948,
    "c": 0.18614,
    "h": 311.2
  },
  "luminance": 0.18793
}

Semantic roles & 50–950 ramp

primary
#A256CE
secondary
#B9D8A8
accent
#DE4980
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A256CE

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

Preview Lab → · Contrast checker → · Palette generator →

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