#A456E5#A456E5

#A456E5 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.2% C 0.211 H 306.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A456E5
RGBrgb(164, 86, 229)
HSLhsl(273, 73%, 62%)
HSVhsv(273, 62%, 90%)
CMYKcmyk(28.4%, 62.4%, 0%, 10.2%)
CIE-LABlab(52.07, 57.23, -60.27)
CIE-LCHlch(52.07, 83.12, 313.52°)
OKLaboklab(61.16% 0.1249 -0.1705)
OKLCHoklch(61.16% 0.211 306.2)
XYZxyz(32.7775, 20.2055, 76.2869)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A456E5 #97E556
analogous
#5D56E5 #A456E5 #E556DF
triadic
#A456E5 #E5A456 #56E5A4
tetradic
#A456E5 #E55D56 #97E556 #56DFE5
square
#A456E5 #E55D56 #97E556 #56DFE5
split-complementary
#A456E5 #DFE556 #56E55D
monochromatic
#671AA7 #8722DC #A456E5 #C18BED #DDC0F5

Accessibility & contrast

On white

4.17
#A456E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#A456E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A456E5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A456E5#FFFFFF#000000##000000
##A456E51.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#377DE2
Tritanopia (blue-blind)
#997496
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a456e5;
/* rgb */ color: rgb(164, 86, 229);
/* oklch */ color: oklch(61.2% 0.211 306.2);
Tailwind
colors: {
  custom: {
    50: '#c38aee',
    500: '#a456e5',
    950: '#000000',
  },
}
SCSS
$custom: #a456e5;
$custom-light: #c38aee;
$custom-dark: #000000;
JSON
{
  "hex": "#a456e5",
  "rgb": {
    "r": 164,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 272.727,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61156,
    "c": 0.21135,
    "h": 306.2
  },
  "luminance": 0.20205
}

Semantic roles & 50–950 ramp

primary
#A456E5
secondary
#C9E6B1
accent
#D5106A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A456E5

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

Preview Lab → · Contrast checker → · Palette generator →

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