#A256DF#A256DF

#A256DF is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.5% C 0.204 H 306.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A256DF
RGBrgb(162, 86, 223)
HSLhsl(273, 68%, 61%)
HSVhsv(273, 61%, 87%)
CMYKcmyk(27.4%, 61.4%, 0%, 12.5%)
CIE-LABlab(51.46, 55.42, -57.88)
CIE-LCHlch(51.46, 80.13, 313.75°)
OKLaboklab(60.54% 0.1226 -0.1636)
OKLCHoklch(60.54% 0.204 306.8)
XYZxyz(31.5446, 19.6650, 71.9317)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256DF #93DF56
analogous
#5D56DF #A256DF #DF56D7
triadic
#A256DF #DFA256 #56DFA2
tetradic
#A256DF #DF5D56 #93DF56 #56D7DF
square
#A256DF #DF5D56 #93DF56 #56D7DF
split-complementary
#A256DF #D7DF56 #56DF5D
monochromatic
#641E9D #8527D0 #A256DF #BE89E9 #DBBDF2

Accessibility & contrast

On white

4.26
#A256DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#A256DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256DF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256DF#FFFFFF#000000##000000
##A256DF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0678E3
Deuteranopia (green-blind)
#3C7BDC
Tritanopia (blue-blind)
#987293
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a256df;
/* rgb */ color: rgb(162, 86, 223);
/* oklch */ color: oklch(60.5% 0.204 306.8);
Tailwind
colors: {
  custom: {
    50: '#c18aea',
    500: '#a256df',
    950: '#000000',
  },
}
SCSS
$custom: #a256df;
$custom-light: #c18aea;
$custom-dark: #000000;
JSON
{
  "hex": "#a256df",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 273.285,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.6054,
    "c": 0.2044,
    "h": 306.8
  },
  "luminance": 0.19665
}

Semantic roles & 50–950 ramp

primary
#A256DF
secondary
#C6E2AE
accent
#D01569
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A256DF

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

Preview Lab → · Contrast checker → · Palette generator →

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