#A256EF#A256EF

#A256EF is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.6% C 0.222 H 303.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A256EF
RGBrgb(162, 86, 239)
HSLhsl(270, 83%, 64%)
HSVhsv(270, 64%, 94%)
CMYKcmyk(32.2%, 64%, 0%, 6.3%)
CIE-LABlab(52.47, 59.11, -65.25)
CIE-LCHlch(52.47, 88.04, 312.17°)
OKLaboklab(61.6% 0.1216 -0.1852)
OKLCHoklch(61.6% 0.222 303.3)
XYZxyz(33.8045, 20.5690, 83.8339)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256EF #A3EF56
analogous
#5656EF #A256EF #EF56EF
triadic
#A256EF #EFA256 #56EFA2
tetradic
#A256EF #EF5656 #A3EF56 #56EFEF
square
#A256EF #EF5656 #A3EF56 #56EFEF
split-complementary
#A256EF #EFEF56 #56EF56
monochromatic
#6512B9 #831EEA #A256EF #C18EF4 #E0C6FA

Accessibility & contrast

On white

4.11
#A256EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#A256EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256EF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256EF#FFFFFF#000000##000000
##A256EF1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#227DEC
Tritanopia (blue-blind)
#93779B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a256ef;
/* rgb */ color: rgb(162, 86, 239);
/* oklch */ color: oklch(61.6% 0.222 303.3);
Tailwind
colors: {
  custom: {
    50: '#c28af5',
    500: '#a256ef',
    950: '#000000',
  },
}
SCSS
$custom: #a256ef;
$custom-light: #c28af5;
$custom-dark: #000000;
JSON
{
  "hex": "#a256ef",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 269.804,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61601,
    "c": 0.22156,
    "h": 303.3
  },
  "luminance": 0.20569
}

Semantic roles & 50–950 ramp

primary
#A256EF
secondary
#D1EBB5
accent
#DF0673
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A256EF

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

Preview Lab → · Contrast checker → · Palette generator →

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