#A456CA#A456CA

#A456CA is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.5% C 0.183 H 313.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A456CA
RGBrgb(164, 86, 202)
HSLhsl(280, 52%, 56%)
HSVhsv(280, 57%, 79%)
CMYKcmyk(18.8%, 57.4%, 0%, 20.8%)
CIE-LABlab(50.47, 51.25, -47.48)
CIE-LCHlch(50.47, 69.87, 317.19°)
OKLaboklab(59.48% 0.1251 -0.133)
OKLCHoklch(59.48% 0.183 313.2)
XYZxyz(29.2965, 18.8131, 57.9537)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A456CA #7CCA56
analogous
#6A56CA #A456CA #CA56B6
triadic
#A456CA #CAA456 #56CAA4
tetradic
#A456CA #CA6A56 #7CCA56 #56B6CA
square
#A456CA #CA6A56 #7CCA56 #56B6CA
split-complementary
#A456CA #B6CA56 #56CA6A
monochromatic
#62287E #8636AD #A456CA #BD85D9 #D6B3E7

Accessibility & contrast

On white

4.41
#A456CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#A456CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A456CA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A456CA#FFFFFF#000000##000000
##A456CA1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3374CE
Deuteranopia (green-blind)
#517AC7
Tritanopia (blue-blind)
#A06A88
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a456ca;
/* rgb */ color: rgb(164, 86, 202);
/* oklch */ color: oklch(59.5% 0.183 313.2);
Tailwind
colors: {
  custom: {
    50: '#c289db',
    500: '#a456ca',
    950: '#000000',
  },
}
SCSS
$custom: #a456ca;
$custom-light: #c289db;
$custom-dark: #000000;
JSON
{
  "hex": "#a456ca",
  "rgb": {
    "r": 164,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 280.345,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59477,
    "c": 0.18262,
    "h": 313.2
  },
  "luminance": 0.18812
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A456CA

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

Preview Lab → · Contrast checker → · Palette generator →

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