#A456DC#A456DC

#A456DC is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.6% C 0.202 H 308.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A456DC
RGBrgb(164, 86, 220)
HSLhsl(275, 66%, 60%)
HSVhsv(275, 61%, 86%)
CMYKcmyk(25.5%, 60.9%, 0%, 13.7%)
CIE-LABlab(51.51, 55.20, -56.08)
CIE-LCHlch(51.51, 78.69, 314.55°)
OKLaboklab(60.58% 0.1252 -0.1582)
OKLCHoklch(60.58% 0.202 308.4)
XYZxyz(31.5533, 19.7159, 69.8396)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A456DC #8EDC56
analogous
#6156DC #A456DC #DC56D1
triadic
#A456DC #DCA456 #56DCA4
tetradic
#A456DC #DC6156 #8EDC56 #56D1DC
square
#A456DC #DC6156 #8EDC56 #56D1DC
split-complementary
#A456DC #D1DC56 #56DC61
monochromatic
#662098 #882ACB #A456DC #BF89E6 #DBBBF1

Accessibility & contrast

On white

4.25
#A456DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#A456DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A456DC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A456DC#FFFFFF#000000##000000
##A456DC1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1678E0
Deuteranopia (green-blind)
#417CD9
Tritanopia (blue-blind)
#9C7091
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a456dc;
/* rgb */ color: rgb(164, 86, 220);
/* oklch */ color: oklch(60.6% 0.202 308.4);
Tailwind
colors: {
  custom: {
    50: '#c38ae7',
    500: '#a456dc',
    950: '#000000',
  },
}
SCSS
$custom: #a456dc;
$custom-light: #c38ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#a456dc",
  "rgb": {
    "r": 164,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 274.925,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.60576,
    "c": 0.20176,
    "h": 308.4
  },
  "luminance": 0.19715
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A456DC

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

Preview Lab → · Contrast checker → · Palette generator →

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