#A256D4#A256D4

#A256D4 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.8% C 0.193 H 309.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A256D4
RGBrgb(162, 86, 212)
HSLhsl(276, 59%, 58%)
HSVhsv(276, 59%, 83%)
CMYKcmyk(23.6%, 59.4%, 0%, 16.9%)
CIE-LABlab(50.79, 52.94, -52.70)
CIE-LCHlch(50.79, 74.70, 315.13°)
OKLaboklab(59.85% 0.1228 -0.1484)
OKLCHoklch(59.85% 0.193 309.6)
XYZxyz(30.1094, 19.0910, 64.3734)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256D4 #88D456
analogous
#6356D4 #A256D4 #D456C7
triadic
#A256D4 #D4A256 #56D4A2
tetradic
#A256D4 #D46356 #88D456 #56C7D4
square
#A256D4 #D46356 #88D456 #56C7D4
split-complementary
#A256D4 #C7D456 #56D463
monochromatic
#63248C #8530BD #A256D4 #BD87E0 #D8B8ED

Accessibility & contrast

On white

4.36
#A256D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#A256D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256D4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256D4#FFFFFF#000000##000000
##A256D41.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2576D8
Deuteranopia (green-blind)
#477AD1
Tritanopia (blue-blind)
#9B6E8D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a256d4;
/* rgb */ color: rgb(162, 86, 212);
/* oklch */ color: oklch(59.8% 0.193 309.6);
Tailwind
colors: {
  custom: {
    50: '#c189e2',
    500: '#a256d4',
    950: '#000000',
  },
}
SCSS
$custom: #a256d4;
$custom-light: #c189e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a256d4",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 212
  },
  "hsl": {
    "h": 276.19,
    "s": 59.434,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59846,
    "c": 0.19258,
    "h": 309.6
  },
  "luminance": 0.1909
}

Semantic roles & 50–950 ramp

primary
#A256D4
secondary
#BEDCAA
accent
#E34584
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A256D4

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

Preview Lab → · Contrast checker → · Palette generator →

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