#A456EA#A456EA

#A456EA is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.5% C 0.217 H 305.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A456EA
RGBrgb(164, 86, 234)
HSLhsl(272, 78%, 63%)
HSVhsv(272, 63%, 92%)
CMYKcmyk(29.9%, 63.2%, 0%, 8.2%)
CIE-LABlab(52.39, 58.37, -62.58)
CIE-LCHlch(52.39, 85.58, 313.01°)
OKLaboklab(61.49% 0.1246 -0.1773)
OKLCHoklch(61.49% 0.217 305.1)
XYZxyz(33.4856, 20.4888, 80.0166)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A456EA #9CEA56
analogous
#5A56EA #A456EA #EA56E6
triadic
#A456EA #EAA456 #56EAA4
tetradic
#A456EA #EA5A56 #9CEA56 #56E6EA
square
#A456EA #EA5A56 #9CEA56 #56E6EA
split-complementary
#A456EA #E6EA56 #56EA5A
monochromatic
#6716B0 #8720E3 #A456EA #C18CF1 #DFC3F8

Accessibility & contrast

On white

4.12
#A456EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#A456EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A456EA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A456EA#FFFFFF#000000##000000
##A456EA1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#2F7DE7
Tritanopia (blue-blind)
#987598
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a456ea;
/* rgb */ color: rgb(164, 86, 234);
/* oklch */ color: oklch(61.5% 0.217 305.1);
Tailwind
colors: {
  custom: {
    50: '#c38af1',
    500: '#a456ea',
    950: '#000000',
  },
}
SCSS
$custom: #a456ea;
$custom-light: #c38af1;
$custom-dark: #000000;
JSON
{
  "hex": "#a456ea",
  "rgb": {
    "r": 164,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 271.622,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61485,
    "c": 0.21667,
    "h": 305.1
  },
  "luminance": 0.20489
}

Semantic roles & 50–950 ramp

primary
#A456EA
secondary
#CCE9B3
accent
#DA0B6D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A456EA

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

Preview Lab → · Contrast checker → · Palette generator →

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