#A256E5#A256E5

#A256E5 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.9% C 0.211 H 305.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A256E5
RGBrgb(162, 86, 229)
HSLhsl(272, 73%, 62%)
HSVhsv(272, 62%, 90%)
CMYKcmyk(29.3%, 62.4%, 0%, 10.2%)
CIE-LABlab(51.83, 56.79, -60.67)
CIE-LCHlch(51.83, 83.10, 313.11°)
OKLaboklab(60.93% 0.1223 -0.1718)
OKLCHoklch(60.93% 0.211 305.5)
XYZxyz(32.3679, 19.9943, 76.2677)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256E5 #99E556
analogous
#5B56E5 #A256E5 #E556E1
triadic
#A256E5 #E5A256 #56E5A2
tetradic
#A256E5 #E55B56 #99E556 #56E1E5
square
#A256E5 #E55B56 #99E556 #56E1E5
split-complementary
#A256E5 #E1E556 #56E55B
monochromatic
#651AA7 #8522DC #A256E5 #BF8BED #DCC0F5

Accessibility & contrast

On white

4.20
#A256E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#A256E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256E5
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256E5#FFFFFF#000000##000000
##A256E51.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#347CE2
Tritanopia (blue-blind)
#967496
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a256e5;
/* rgb */ color: rgb(162, 86, 229);
/* oklch */ color: oklch(60.9% 0.211 305.5);
Tailwind
colors: {
  custom: {
    50: '#c28aee',
    500: '#a256e5',
    950: '#000000',
  },
}
SCSS
$custom: #a256e5;
$custom-light: #c28aee;
$custom-dark: #000000;
JSON
{
  "hex": "#a256e5",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 271.888,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60931,
    "c": 0.21084,
    "h": 305.5
  },
  "luminance": 0.19994
}

Semantic roles & 50–950 ramp

primary
#A256E5
secondary
#CAE6B1
accent
#D5106D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A256E5

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

Preview Lab → · Contrast checker → · Palette generator →

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