#A256ED#A256ED

#A256ED is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.5% C 0.219 H 303.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A256ED
RGBrgb(162, 86, 237)
HSLhsl(270, 81%, 63%)
HSVhsv(270, 64%, 93%)
CMYKcmyk(31.6%, 63.7%, 0%, 7.1%)
CIE-LABlab(52.34, 58.64, -64.34)
CIE-LCHlch(52.34, 87.05, 312.35°)
OKLaboklab(61.47% 0.1218 -0.1825)
OKLCHoklch(61.47% 0.219 303.7)
XYZxyz(33.5107, 20.4515, 82.2864)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256ED #A1ED56
analogous
#5656ED #A256ED #ED56EC
triadic
#A256ED #EDA256 #56EDA2
tetradic
#A256ED #ED5656 #A1ED56 #56ECED
square
#A256ED #ED5656 #A1ED56 #56ECED
split-complementary
#A256ED #ECED56 #56ED56
monochromatic
#6513B5 #841FE7 #A256ED #C08DF3 #DFC5F9

Accessibility & contrast

On white

4.13
#A256ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#A256ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256ED
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256ED#FFFFFF#000000##000000
##A256ED1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#267DEA
Tritanopia (blue-blind)
#94779A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a256ed;
/* rgb */ color: rgb(162, 86, 237);
/* oklch */ color: oklch(61.5% 0.219 303.7);
Tailwind
colors: {
  custom: {
    50: '#c28af4',
    500: '#a256ed',
    950: '#000000',
  },
}
SCSS
$custom: #a256ed;
$custom-light: #c28af4;
$custom-dark: #000000;
JSON
{
  "hex": "#a256ed",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 270.199,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61465,
    "c": 0.21942,
    "h": 303.7
  },
  "luminance": 0.20451
}

Semantic roles & 50–950 ramp

primary
#A256ED
secondary
#CFEAB4
accent
#DD0872
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A256ED

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

Preview Lab → · Contrast checker → · Palette generator →

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