#A256D2#A256D2

#A256D2 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.7% C 0.190 H 310.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A256D2
RGBrgb(162, 86, 210)
HSLhsl(277, 58%, 58%)
HSVhsv(277, 59%, 82%)
CMYKcmyk(22.9%, 59%, 0%, 17.6%)
CIE-LABlab(50.68, 52.50, -51.74)
CIE-LCHlch(50.68, 73.71, 315.41°)
OKLaboklab(59.72% 0.1228 -0.1456)
OKLCHoklch(59.72% 0.19 310.1)
XYZxyz(29.8587, 18.9907, 63.0529)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256D2 #86D256
analogous
#6456D2 #A256D2 #D256C4
triadic
#A256D2 #D2A256 #56D2A2
tetradic
#A256D2 #D26456 #86D256 #56C4D2
square
#A256D2 #D26456 #86D256 #56C4D2
split-complementary
#A256D2 #C4D256 #56D264
monochromatic
#622589 #8531B9 #A256D2 #BD86DF #D7B7EC

Accessibility & contrast

On white

4.38
#A256D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#A256D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256D2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256D2#FFFFFF#000000##000000
##A256D21.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2875D6
Deuteranopia (green-blind)
#497ACF
Tritanopia (blue-blind)
#9C6D8C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a256d2;
/* rgb */ color: rgb(162, 86, 210);
/* oklch */ color: oklch(59.7% 0.190 310.1);
Tailwind
colors: {
  custom: {
    50: '#c189e0',
    500: '#a256d2',
    950: '#000000',
  },
}
SCSS
$custom: #a256d2;
$custom-light: #c189e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a256d2",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 276.774,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59723,
    "c": 0.19042,
    "h": 310.1
  },
  "luminance": 0.1899
}

Semantic roles & 50–950 ramp

primary
#A256D2
secondary
#BCDBA9
accent
#E14782
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A256D2

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

Preview Lab → · Contrast checker → · Palette generator →

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