#A256DD#A256DD

#A256DD is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.4% C 0.202 H 307.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A256DD
RGBrgb(162, 86, 221)
HSLhsl(274, 67%, 60%)
HSVhsv(274, 61%, 87%)
CMYKcmyk(26.7%, 61.1%, 0%, 13.3%)
CIE-LABlab(51.33, 54.96, -56.95)
CIE-LCHlch(51.33, 79.15, 313.98°)
OKLaboklab(60.41% 0.1226 -0.1608)
OKLCHoklch(60.41% 0.202 307.3)
XYZxyz(31.2765, 19.5578, 70.5200)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256DD #91DD56
analogous
#5F56DD #A256DD #DD56D4
triadic
#A256DD #DDA256 #56DDA2
tetradic
#A256DD #DD5F56 #91DD56 #56D4DD
square
#A256DD #DD5F56 #91DD56 #56D4DD
split-complementary
#A256DD #D4DD56 #56DD5F
monochromatic
#641F9A #8529CD #A256DD #BE89E7 #DABCF2

Accessibility & contrast

On white

4.28
#A256DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#A256DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256DD
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256DD#FFFFFF#000000##000000
##A256DD1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F78E1
Deuteranopia (green-blind)
#3E7BDA
Tritanopia (blue-blind)
#997192
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a256dd;
/* rgb */ color: rgb(162, 86, 221);
/* oklch */ color: oklch(60.4% 0.202 307.3);
Tailwind
colors: {
  custom: {
    50: '#c189e8',
    500: '#a256dd',
    950: '#000000',
  },
}
SCSS
$custom: #a256dd;
$custom-light: #c189e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a256dd",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 273.778,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60412,
    "c": 0.20225,
    "h": 307.3
  },
  "luminance": 0.19557
}

Semantic roles & 50–950 ramp

primary
#A256DD
secondary
#C4E1AE
accent
#CE1767
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A256DD

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

Preview Lab → · Contrast checker → · Palette generator →

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