#A456F0#A456F0

#A456F0 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.9% C 0.223 H 303.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A456F0
RGBrgb(164, 86, 240)
HSLhsl(270, 84%, 64%)
HSVhsv(270, 64%, 94%)
CMYKcmyk(31.7%, 64.2%, 0%, 5.9%)
CIE-LABlab(52.77, 59.76, -65.31)
CIE-LCHlch(52.77, 88.53, 312.45°)
OKLaboklab(61.89% 0.1241 -0.1853)
OKLCHoklch(61.89% 0.223 303.8)
XYZxyz(34.3622, 20.8394, 84.6333)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A456F0 #A2F056
analogous
#5756F0 #A456F0 #F056EF
triadic
#A456F0 #F0A456 #56F0A4
tetradic
#A456F0 #F05756 #A2F056 #56EFF0
square
#A456F0 #F05756 #A2F056 #56EFF0
split-complementary
#A456F0 #EFF056 #56F057
monochromatic
#6711BB #861EEB #A456F0 #C28EF5 #E1C6FA

Accessibility & contrast

On white

4.06
#A456F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#A456F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A456F0
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A456F0#FFFFFF#000000##000000
##A456F01.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF5
Deuteranopia (green-blind)
#247EED
Tritanopia (blue-blind)
#96779C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a456f0;
/* rgb */ color: rgb(164, 86, 240);
/* oklch */ color: oklch(61.9% 0.223 303.8);
Tailwind
colors: {
  custom: {
    50: '#c48af6',
    500: '#a456f0',
    950: '#000000',
  },
}
SCSS
$custom: #a456f0;
$custom-light: #c48af6;
$custom-dark: #000000;
JSON
{
  "hex": "#a456f0",
  "rgb": {
    "r": 164,
    "g": 86,
    "b": 240
  },
  "hsl": {
    "h": 270.39,
    "s": 83.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61889,
    "c": 0.22305,
    "h": 303.8
  },
  "luminance": 0.20839
}

Semantic roles & 50–950 ramp

primary
#A456F0
secondary
#D1ECB6
accent
#E00571
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #A456F0

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

Preview Lab → · Contrast checker → · Palette generator →

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