#A456E8#A456E8

#A456E8 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.4% C 0.215 H 305.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A456E8
RGBrgb(164, 86, 232)
HSLhsl(272, 76%, 62%)
HSVhsv(272, 63%, 91%)
CMYKcmyk(29.3%, 62.9%, 0%, 9%)
CIE-LABlab(52.26, 57.91, -61.66)
CIE-LCHlch(52.26, 84.59, 313.21°)
OKLaboklab(61.35% 0.1247 -0.1746)
OKLCHoklch(61.35% 0.215 305.5)
XYZxyz(33.1999, 20.3745, 78.5119)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A456E8 #9AE856
analogous
#5B56E8 #A456E8 #E856E3
triadic
#A456E8 #E8A456 #56E8A4
tetradic
#A456E8 #E85B56 #9AE856 #56E3E8
square
#A456E8 #E85B56 #9AE856 #56E3E8
split-complementary
#A456E8 #E3E856 #56E85B
monochromatic
#6717AC #8720E1 #A456E8 #C18CEF #DEC2F7

Accessibility & contrast

On white

4.14
#A456E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#A456E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A456E8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A456E8#FFFFFF#000000##000000
##A456E81.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#327DE5
Tritanopia (blue-blind)
#987597
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a456e8;
/* rgb */ color: rgb(164, 86, 232);
/* oklch */ color: oklch(61.4% 0.215 305.5);
Tailwind
colors: {
  custom: {
    50: '#c38af0',
    500: '#a456e8',
    950: '#000000',
  },
}
SCSS
$custom: #a456e8;
$custom-light: #c38af0;
$custom-dark: #000000;
JSON
{
  "hex": "#a456e8",
  "rgb": {
    "r": 164,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 272.055,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61353,
    "c": 0.21454,
    "h": 305.5
  },
  "luminance": 0.20374
}

Semantic roles & 50–950 ramp

primary
#A456E8
secondary
#CBE8B2
accent
#D80D6C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A456E8

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

Preview Lab → · Contrast checker → · Palette generator →

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