#A256E1#A256E1

#A256E1 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.7% C 0.207 H 306.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A256E1
RGBrgb(162, 86, 225)
HSLhsl(273, 70%, 61%)
HSVhsv(273, 62%, 88%)
CMYKcmyk(28%, 61.8%, 0%, 11.8%)
CIE-LABlab(51.58, 55.87, -58.82)
CIE-LCHlch(51.58, 81.12, 313.53°)
OKLaboklab(60.67% 0.1225 -0.1663)
OKLCHoklch(60.67% 0.207 306.4)
XYZxyz(31.8158, 19.7735, 73.3601)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256E1 #95E156
analogous
#5C56E1 #A256E1 #E156DA
triadic
#A256E1 #E1A256 #56E1A2
tetradic
#A256E1 #E15C56 #95E156 #56DAE1
square
#A256E1 #E15C56 #95E156 #56DAE1
split-complementary
#A256E1 #DAE156 #56E15C
monochromatic
#641CA0 #8526D4 #A256E1 #BF8AEA #DBBEF3

Accessibility & contrast

On white

4.24
#A256E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#A256E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256E1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256E1#FFFFFF#000000##000000
##A256E11.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#397BDE
Tritanopia (blue-blind)
#987294
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a256e1;
/* rgb */ color: rgb(162, 86, 225);
/* oklch */ color: oklch(60.7% 0.207 306.4);
Tailwind
colors: {
  custom: {
    50: '#c28aeb',
    500: '#a256e1',
    950: '#000000',
  },
}
SCSS
$custom: #a256e1;
$custom-light: #c28aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#a256e1",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 272.806,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6067,
    "c": 0.20655,
    "h": 306.4
  },
  "luminance": 0.19773
}

Semantic roles & 50–950 ramp

primary
#A256E1
secondary
#C7E4AF
accent
#D2146A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A256E1

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

Preview Lab → · Contrast checker → · Palette generator →

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