#A456CC#A456CC

#A456CC is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.6% C 0.185 H 312.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A456CC
RGBrgb(164, 86, 204)
HSLhsl(280, 54%, 57%)
HSVhsv(280, 58%, 80%)
CMYKcmyk(19.6%, 57.8%, 0%, 20%)
CIE-LABlab(50.58, 51.68, -48.45)
CIE-LCHlch(50.58, 70.84, 316.85°)
OKLaboklab(59.6% 0.1252 -0.1359)
OKLCHoklch(59.6% 0.185 312.6)
XYZxyz(29.5348, 18.9085, 59.2089)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A456CC #7ECC56
analogous
#6956CC #A456CC #CC56B9
triadic
#A456CC #CCA456 #56CCA4
tetradic
#A456CC #CC6956 #7ECC56 #56B9CC
square
#A456CC #CC6956 #7ECC56 #56B9CC
split-complementary
#A456CC #B9CC56 #56CC69
monochromatic
#622781 #8635B0 #A456CC #BD85DA #D7B4E8

Accessibility & contrast

On white

4.39
#A456CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#A456CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A456CC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A456CC#FFFFFF#000000##000000
##A456CC1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3174D0
Deuteranopia (green-blind)
#4F7AC9
Tritanopia (blue-blind)
#A06B89
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a456cc;
/* rgb */ color: rgb(164, 86, 204);
/* oklch */ color: oklch(59.6% 0.185 312.6);
Tailwind
colors: {
  custom: {
    50: '#c289dc',
    500: '#a456cc',
    950: '#000000',
  },
}
SCSS
$custom: #a456cc;
$custom-light: #c289dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a456cc",
  "rgb": {
    "r": 164,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 279.661,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59595,
    "c": 0.18474,
    "h": 312.6
  },
  "luminance": 0.18908
}

Semantic roles & 50–950 ramp

primary
#A456CC
secondary
#B7D7A7
accent
#DD4B7C
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A456CC

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

Preview Lab → · Contrast checker → · Palette generator →

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