#A456BF#A456BF

#A456BF is a mid, vivid purple. Relative luminance 0.183; OKLCH L 58.8% C 0.171 H 316.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A456BF
RGBrgb(164, 86, 191)
HSLhsl(285, 45%, 54%)
HSVhsv(285, 55%, 75%)
CMYKcmyk(14.1%, 55%, 0%, 25.1%)
CIE-LABlab(49.87, 48.93, -42.09)
CIE-LCHlch(49.87, 64.54, 319.29°)
OKLaboklab(58.85% 0.1245 -0.1173)
OKLCHoklch(58.85% 0.171 316.7)
XYZxyz(28.0402, 18.3106, 51.3374)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A456BF #71BF56
analogous
#7056BF #A456BF #BF56A6
triadic
#A456BF #BFA456 #56BFA4
tetradic
#A456BF #BF7056 #71BF56 #56A6BF
square
#A456BF #BF7056 #71BF56 #56A6BF
split-complementary
#A456BF #A6BF56 #56BF70
monochromatic
#5E2A70 #843B9D #A456BF #BC82D0 #D4AFE1

Accessibility & contrast

On white

4.50
#A456BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#A456BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A456BF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A456BF#FFFFFF#000000##000000
##A456BF1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E72C2
Deuteranopia (green-blind)
#5879BC
Tritanopia (blue-blind)
#A36782
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a456bf;
/* rgb */ color: rgb(164, 86, 191);
/* oklch */ color: oklch(58.8% 0.171 316.7);
Tailwind
colors: {
  custom: {
    50: '#c189d3',
    500: '#a456bf',
    950: '#000000',
  },
}
SCSS
$custom: #a456bf;
$custom-light: #c189d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a456bf",
  "rgb": {
    "r": 164,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 284.571,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58846,
    "c": 0.17106,
    "h": 316.7
  },
  "luminance": 0.1831
}

Semantic roles & 50–950 ramp

primary
#A456BF
secondary
#AECFA2
accent
#D55374
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #A456BF

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

Preview Lab → · Contrast checker → · Palette generator →

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