#A256E6#A256E6

#A256E6 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.0% C 0.212 H 305.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#A256E6
RGBrgb(162, 86, 230)
HSLhsl(272, 74%, 62%)
HSVhsv(272, 63%, 90%)
CMYKcmyk(29.6%, 62.6%, 0%, 9.8%)
CIE-LABlab(51.89, 57.02, -61.13)
CIE-LCHlch(51.89, 83.60, 313.01°)
OKLaboklab(61% 0.1222 -0.1731)
OKLCHoklch(61% 0.212 305.2)
XYZxyz(32.5079, 20.0503, 77.0051)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256E6 #9AE656
analogous
#5A56E6 #A256E6 #E656E2
triadic
#A256E6 #E6A256 #56E6A2
tetradic
#A256E6 #E65A56 #9AE656 #56E2E6
square
#A256E6 #E65A56 #9AE656 #56E2E6
split-complementary
#A256E6 #E2E656 #56E65A
monochromatic
#6519A9 #8521DE #A256E6 #BF8BEE #DDC1F6

Accessibility & contrast

On white

4.19
#A256E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#A256E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256E6
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256E6#FFFFFF#000000##000000
##A256E61.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#327CE3
Tritanopia (blue-blind)
#967496
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a256e6;
/* rgb */ color: rgb(162, 86, 230);
/* oklch */ color: oklch(61.0% 0.212 305.2);
Tailwind
colors: {
  custom: {
    50: '#c28aef',
    500: '#a256e6',
    950: '#000000',
  },
}
SCSS
$custom: #a256e6;
$custom-light: #c28aef;
$custom-dark: #000000;
JSON
{
  "hex": "#a256e6",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 271.667,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60997,
    "c": 0.21192,
    "h": 305.2
  },
  "luminance": 0.2005
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A256E6

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

Preview Lab → · Contrast checker → · Palette generator →

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