#A256D9#A256D9

#A256D9 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 60.2% C 0.198 H 308.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A256D9
RGBrgb(162, 86, 217)
HSLhsl(275, 63%, 59%)
HSVhsv(275, 60%, 85%)
CMYKcmyk(25.3%, 60.4%, 0%, 14.9%)
CIE-LABlab(51.09, 54.06, -55.07)
CIE-LCHlch(51.09, 77.17, 314.47°)
OKLaboklab(60.16% 0.1227 -0.1553)
OKLCHoklch(60.16% 0.198 308.3)
XYZxyz(30.7499, 19.3472, 67.7467)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256D9 #8DD956
analogous
#6156D9 #A256D9 #D956CF
triadic
#A256D9 #D9A256 #56D9A2
tetradic
#A256D9 #D96156 #8DD956 #56CFD9
square
#A256D9 #D96156 #8DD956 #56CFD9
split-complementary
#A256D9 #CFD956 #56D961
monochromatic
#632193 #852CC5 #A256D9 #BD88E4 #D9BAEF

Accessibility & contrast

On white

4.31
#A256D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#A256D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256D9
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256D9#FFFFFF#000000##000000
##A256D91.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B77DD
Deuteranopia (green-blind)
#427BD6
Tritanopia (blue-blind)
#9A7090
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a256d9;
/* rgb */ color: rgb(162, 86, 217);
/* oklch */ color: oklch(60.2% 0.198 308.3);
Tailwind
colors: {
  custom: {
    50: '#c189e5',
    500: '#a256d9',
    950: '#000000',
  },
}
SCSS
$custom: #a256d9;
$custom-light: #c189e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a256d9",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 217
  },
  "hsl": {
    "h": 274.809,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60158,
    "c": 0.19795,
    "h": 308.3
  },
  "luminance": 0.19347
}

Semantic roles & 50–950 ramp

primary
#A256D9
secondary
#C1DFAC
accent
#E64187
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A256D9

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

Preview Lab → · Contrast checker → · Palette generator →

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