#A256EA#A256EA

#A256EA is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.3% C 0.216 H 304.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A256EA
RGBrgb(162, 86, 234)
HSLhsl(271, 78%, 63%)
HSVhsv(271, 63%, 92%)
CMYKcmyk(30.8%, 63.2%, 0%, 8.2%)
CIE-LABlab(52.15, 57.94, -62.97)
CIE-LCHlch(52.15, 85.57, 312.62°)
OKLaboklab(61.26% 0.122 -0.1785)
OKLCHoklch(61.26% 0.216 304.3)
XYZxyz(33.0760, 20.2776, 79.9974)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256EA #9EEA56
analogous
#5856EA #A256EA #EA56E8
triadic
#A256EA #EAA256 #56EAA2
tetradic
#A256EA #EA5856 #9EEA56 #56E8EA
square
#A256EA #EA5856 #9EEA56 #56E8EA
split-complementary
#A256EA #E8EA56 #56EA58
monochromatic
#6516B0 #8420E3 #A256EA #C08CF1 #DEC3F8

Accessibility & contrast

On white

4.15
#A256EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#A256EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256EA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256EA#FFFFFF#000000##000000
##A256EA1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#2C7CE7
Tritanopia (blue-blind)
#957698
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a256ea;
/* rgb */ color: rgb(162, 86, 234);
/* oklch */ color: oklch(61.3% 0.216 304.3);
Tailwind
colors: {
  custom: {
    50: '#c28af1',
    500: '#a256ea',
    950: '#000000',
  },
}
SCSS
$custom: #a256ea;
$custom-light: #c28af1;
$custom-dark: #000000;
JSON
{
  "hex": "#a256ea",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 270.811,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61263,
    "c": 0.21621,
    "h": 304.3
  },
  "luminance": 0.20277
}

Semantic roles & 50–950 ramp

primary
#A256EA
secondary
#CDE9B3
accent
#DA0B70
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A256EA

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

Preview Lab → · Contrast checker → · Palette generator →

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