#A456BB#A456BB

#A456BB is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.6% C 0.167 H 318.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A456BB
RGBrgb(164, 86, 187)
HSLhsl(286, 43%, 54%)
HSVhsv(286, 54%, 73%)
CMYKcmyk(12.3%, 54%, 0%, 26.7%)
CIE-LABlab(49.66, 48.10, -40.11)
CIE-LCHlch(49.66, 62.63, 320.18°)
OKLaboklab(58.63% 0.1241 -0.1116)
OKLCHoklch(58.63% 0.167 318.1)
XYZxyz(27.6060, 18.1370, 49.0507)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A456BB #6DBB56
analogous
#7156BB #A456BB #BB569F
triadic
#A456BB #BBA456 #56BBA4
tetradic
#A456BB #BB7156 #6DBB56 #569FBB
square
#A456BB #BB7156 #6DBB56 #569FBB
split-complementary
#A456BB #9FBB56 #56BB71
monochromatic
#5D2B6B #823D97 #A456BB #BB82CD #D3ADDE

Accessibility & contrast

On white

4.54
#A456BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#A456BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A456BB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A456BB#FFFFFF#000000##000000
##A456BB1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4171BE
Deuteranopia (green-blind)
#5A79B8
Tritanopia (blue-blind)
#A46580
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a456bb;
/* rgb */ color: rgb(164, 86, 187);
/* oklch */ color: oklch(58.6% 0.167 318.1);
Tailwind
colors: {
  custom: {
    50: '#c189d0',
    500: '#a456bb',
    950: '#000000',
  },
}
SCSS
$custom: #a456bb;
$custom-light: #c189d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a456bb",
  "rgb": {
    "r": 164,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 286.337,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58625,
    "c": 0.1669,
    "h": 318.1
  },
  "luminance": 0.18136
}

Semantic roles & 50–950 ramp

primary
#A456BB
secondary
#ABCCA1
accent
#D25572
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #A456BB

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

Preview Lab → · Contrast checker → · Palette generator →

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