#A456EE#A456EE

#A456EE is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.8% C 0.221 H 304.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A456EE
RGBrgb(164, 86, 238)
HSLhsl(271, 82%, 64%)
HSVhsv(271, 64%, 93%)
CMYKcmyk(31.1%, 63.9%, 0%, 6.7%)
CIE-LABlab(52.64, 59.29, -64.41)
CIE-LCHlch(52.64, 87.54, 312.63°)
OKLaboklab(61.75% 0.1243 -0.1827)
OKLCHoklch(61.75% 0.221 304.2)
XYZxyz(34.0668, 20.7213, 83.0772)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A456EE #A0EE56
analogous
#5856EE #A456EE #EE56EC
triadic
#A456EE #EEA456 #56EEA4
tetradic
#A456EE #EE5856 #A0EE56 #56ECEE
square
#A456EE #EE5856 #A0EE56 #56ECEE
split-complementary
#A456EE #ECEE56 #56EE58
monochromatic
#6712B7 #861EE8 #A456EE #C28EF4 #E0C5F9

Accessibility & contrast

On white

4.08
#A456EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#A456EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A456EE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A456EE#FFFFFF#000000##000000
##A456EE1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF3
Deuteranopia (green-blind)
#287EEB
Tritanopia (blue-blind)
#96779B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a456ee;
/* rgb */ color: rgb(164, 86, 238);
/* oklch */ color: oklch(61.8% 0.221 304.2);
Tailwind
colors: {
  custom: {
    50: '#c48af4',
    500: '#a456ee',
    950: '#000000',
  },
}
SCSS
$custom: #a456ee;
$custom-light: #c48af4;
$custom-dark: #000000;
JSON
{
  "hex": "#a456ee",
  "rgb": {
    "r": 164,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 270.789,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61753,
    "c": 0.22092,
    "h": 304.2
  },
  "luminance": 0.20721
}

Semantic roles & 50–950 ramp

primary
#A456EE
secondary
#CFEBB5
accent
#DE0770
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A456EE

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

Preview Lab → · Contrast checker → · Palette generator →

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