#A256E7#A256E7

#A256E7 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.1% C 0.213 H 305.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A256E7
RGBrgb(162, 86, 231)
HSLhsl(271, 75%, 62%)
HSVhsv(271, 63%, 91%)
CMYKcmyk(29.9%, 62.8%, 0%, 9.4%)
CIE-LABlab(51.96, 57.25, -61.59)
CIE-LCHlch(51.96, 84.09, 312.91°)
OKLaboklab(61.06% 0.1222 -0.1745)
OKLCHoklch(61.06% 0.213 305)
XYZxyz(32.6487, 20.1067, 77.7468)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256E7 #9BE756
analogous
#5956E7 #A256E7 #E756E4
triadic
#A256E7 #E7A256 #56E7A2
tetradic
#A256E7 #E75956 #9BE756 #56E4E7
square
#A256E7 #E75956 #9BE756 #56E4E7
split-complementary
#A256E7 #E4E756 #56E759
monochromatic
#6518AA #8520DF #A256E7 #BF8CEF #DDC1F6

Accessibility & contrast

On white

4.18
#A256E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#A256E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256E7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256E7#FFFFFF#000000##000000
##A256E71.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#317CE4
Tritanopia (blue-blind)
#967497
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a256e7;
/* rgb */ color: rgb(162, 86, 231);
/* oklch */ color: oklch(61.1% 0.213 305.0);
Tailwind
colors: {
  custom: {
    50: '#c28aef',
    500: '#a256e7',
    950: '#000000',
  },
}
SCSS
$custom: #a256e7;
$custom-light: #c28aef;
$custom-dark: #000000;
JSON
{
  "hex": "#a256e7",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 271.448,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61063,
    "c": 0.21299,
    "h": 305
  },
  "luminance": 0.20106
}

Semantic roles & 50–950 ramp

primary
#A256E7
secondary
#CBE7B2
accent
#D70E6E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A256E7

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

Preview Lab → · Contrast checker → · Palette generator →

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