#A456BC#A456BC

#A456BC is a mid, vivid purple. Relative luminance 0.182; OKLCH L 58.7% C 0.168 H 317.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A456BC
RGBrgb(164, 86, 188)
HSLhsl(286, 43%, 54%)
HSVhsv(286, 54%, 74%)
CMYKcmyk(12.8%, 54.3%, 0%, 26.3%)
CIE-LABlab(49.71, 48.31, -40.61)
CIE-LCHlch(49.71, 63.11, 319.95°)
OKLaboklab(58.68% 0.1242 -0.113)
OKLCHoklch(58.68% 0.168 317.7)
XYZxyz(27.7135, 18.1799, 49.6164)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A456BC #6EBC56
analogous
#7156BC #A456BC #BC56A1
triadic
#A456BC #BCA456 #56BCA4
tetradic
#A456BC #BC7156 #6EBC56 #56A1BC
square
#A456BC #BC7156 #6EBC56 #56A1BC
split-complementary
#A456BC #A1BC56 #56BC71
monochromatic
#5D2B6D #833C98 #A456BC #BC82CD #D3AEDF

Accessibility & contrast

On white

4.53
#A456BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#A456BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A456BC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A456BC#FFFFFF#000000##000000
##A456BC1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4071BF
Deuteranopia (green-blind)
#5A79B9
Tritanopia (blue-blind)
#A46681
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a456bc;
/* rgb */ color: rgb(164, 86, 188);
/* oklch */ color: oklch(58.7% 0.168 317.7);
Tailwind
colors: {
  custom: {
    50: '#c189d0',
    500: '#a456bc',
    950: '#000000',
  },
}
SCSS
$custom: #a456bc;
$custom-light: #c189d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a456bc",
  "rgb": {
    "r": 164,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 285.882,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58679,
    "c": 0.16794,
    "h": 317.7
  },
  "luminance": 0.18179
}

Semantic roles & 50–950 ramp

primary
#A456BC
secondary
#ABCDA1
accent
#D35573
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #A456BC

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

Preview Lab → · Contrast checker → · Palette generator →

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