#A256DC#A256DC

#A256DC is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.3% C 0.201 H 307.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A256DC
RGBrgb(162, 86, 220)
HSLhsl(274, 66%, 60%)
HSVhsv(274, 61%, 86%)
CMYKcmyk(26.4%, 60.9%, 0%, 13.7%)
CIE-LABlab(51.27, 54.74, -56.48)
CIE-LCHlch(51.27, 78.65, 314.10°)
OKLaboklab(60.35% 0.1227 -0.1594)
OKLCHoklch(60.35% 0.201 307.6)
XYZxyz(31.1437, 19.5047, 69.8204)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256DC #90DC56
analogous
#5F56DC #A256DC #DC56D3
triadic
#A256DC #DCA256 #56DCA2
tetradic
#A256DC #DC5F56 #90DC56 #56D3DC
square
#A256DC #DC5F56 #90DC56 #56D3DC
split-complementary
#A256DC #D3DC56 #56DC5F
monochromatic
#642098 #852ACB #A256DC #BE89E6 #DABBF1

Accessibility & contrast

On white

4.29
#A256DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#A256DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256DC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256DC#FFFFFF#000000##000000
##A256DC1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1377E0
Deuteranopia (green-blind)
#3F7BD9
Tritanopia (blue-blind)
#997191
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a256dc;
/* rgb */ color: rgb(162, 86, 220);
/* oklch */ color: oklch(60.3% 0.201 307.6);
Tailwind
colors: {
  custom: {
    50: '#c189e7',
    500: '#a256dc',
    950: '#000000',
  },
}
SCSS
$custom: #a256dc;
$custom-light: #c189e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a256dc",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 274.03,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.60348,
    "c": 0.20117,
    "h": 307.6
  },
  "luminance": 0.19504
}

Semantic roles & 50–950 ramp

primary
#A256DC
secondary
#C3E1AD
accent
#E93F89
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A256DC

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

Preview Lab → · Contrast checker → · Palette generator →

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