#A456CB#A456CB

#A456CB is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.5% C 0.184 H 312.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A456CB
RGBrgb(164, 86, 203)
HSLhsl(280, 53%, 57%)
HSVhsv(280, 58%, 80%)
CMYKcmyk(19.2%, 57.6%, 0%, 20.4%)
CIE-LABlab(50.52, 51.47, -47.97)
CIE-LCHlch(50.52, 70.35, 317.01°)
OKLaboklab(59.54% 0.1251 -0.1345)
OKLCHoklch(59.54% 0.184 312.9)
XYZxyz(29.4153, 18.8607, 58.5793)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A456CB #7DCB56
analogous
#6A56CB #A456CB #CB56B8
triadic
#A456CB #CBA456 #56CBA4
tetradic
#A456CB #CB6A56 #7DCB56 #56B8CB
square
#A456CB #CB6A56 #7DCB56 #56B8CB
split-complementary
#A456CB #B8CB56 #56CB6A
monochromatic
#62277F #8636AE #A456CB #BD85D9 #D6B4E8

Accessibility & contrast

On white

4.40
#A456CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#A456CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A456CB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A456CB#FFFFFF#000000##000000
##A456CB1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3274CF
Deuteranopia (green-blind)
#507AC8
Tritanopia (blue-blind)
#A06B88
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a456cb;
/* rgb */ color: rgb(164, 86, 203);
/* oklch */ color: oklch(59.5% 0.184 312.9);
Tailwind
colors: {
  custom: {
    50: '#c289db',
    500: '#a456cb',
    950: '#000000',
  },
}
SCSS
$custom: #a456cb;
$custom-light: #c289db;
$custom-dark: #000000;
JSON
{
  "hex": "#a456cb",
  "rgb": {
    "r": 164,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 280,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59536,
    "c": 0.18368,
    "h": 312.9
  },
  "luminance": 0.1886
}

Semantic roles & 50–950 ramp

primary
#A456CB
secondary
#B6D6A6
accent
#DC4B7C
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A456CB

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

Preview Lab → · Contrast checker → · Palette generator →

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