#A256EE#A256EE

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

Color values

HEX#A256EE
RGBrgb(162, 86, 238)
HSLhsl(270, 82%, 64%)
HSVhsv(270, 64%, 93%)
CMYKcmyk(31.9%, 63.9%, 0%, 6.7%)
CIE-LABlab(52.41, 58.87, -64.79)
CIE-LCHlch(52.41, 87.55, 312.26°)
OKLaboklab(61.53% 0.1217 -0.1839)
OKLCHoklch(61.53% 0.22 303.5)
XYZxyz(33.6572, 20.5101, 83.0580)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256EE #A2EE56
analogous
#5656EE #A256EE #EE56EE
triadic
#A256EE #EEA256 #56EEA2
tetradic
#A256EE #EE5656 #A2EE56 #56EEEE
square
#A256EE #EE5656 #A2EE56 #56EEEE
split-complementary
#A256EE #EEEE56 #56EE56
monochromatic
#6512B7 #831EE8 #A256EE #C18EF4 #DFC5F9

Accessibility & contrast

On white

4.12
#A256EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#A256EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256EE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256EE#FFFFFF#000000##000000
##A256EE1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#247DEB
Tritanopia (blue-blind)
#93779B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a256ee;
/* rgb */ color: rgb(162, 86, 238);
/* oklch */ color: oklch(61.5% 0.220 303.5);
Tailwind
colors: {
  custom: {
    50: '#c28af4',
    500: '#a256ee',
    950: '#000000',
  },
}
SCSS
$custom: #a256ee;
$custom-light: #c28af4;
$custom-dark: #000000;
JSON
{
  "hex": "#a256ee",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 270,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61533,
    "c": 0.22049,
    "h": 303.5
  },
  "luminance": 0.2051
}

Semantic roles & 50–950 ramp

primary
#A256EE
secondary
#D0EBB5
accent
#DE0773
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A256EE

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

Preview Lab → · Contrast checker → · Palette generator →

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