#A456F3#A456F3

#A456F3 is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.1% C 0.226 H 303.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A456F3
RGBrgb(164, 86, 243)
HSLhsl(270, 87%, 65%)
HSVhsv(270, 65%, 95%)
CMYKcmyk(32.5%, 64.6%, 0%, 4.7%)
CIE-LABlab(52.97, 60.45, -66.67)
CIE-LCHlch(52.97, 90.00, 312.20°)
OKLaboklab(62.09% 0.1239 -0.1893)
OKLCHoklch(62.09% 0.226 303.2)
XYZxyz(34.8116, 21.0192, 86.9998)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A456F3 #A5F356
analogous
#5657F3 #A456F3 #F256F3
triadic
#A456F3 #F3A456 #56F3A4
tetradic
#A456F3 #F35657 #A5F356 #56F3F2
square
#A456F3 #F35657 #A5F356 #56F3F2
split-complementary
#A456F3 #F3F256 #57F356
monochromatic
#670EC1 #851DEF #A456F3 #C38FF7 #E2C8FB

Accessibility & contrast

On white

4.04
#A456F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#A456F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A456F3
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A456F3#FFFFFF#000000##000000
##A456F31.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF8
Deuteranopia (green-blind)
#1D7EF0
Tritanopia (blue-blind)
#95799D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a456f3;
/* rgb */ color: rgb(164, 86, 243);
/* oklch */ color: oklch(62.1% 0.226 303.2);
Tailwind
colors: {
  custom: {
    50: '#c48af8',
    500: '#a456f3',
    950: '#000000',
  },
}
SCSS
$custom: #a456f3;
$custom-light: #c48af8;
$custom-dark: #000000;
JSON
{
  "hex": "#a456f3",
  "rgb": {
    "r": 164,
    "g": 86,
    "b": 243
  },
  "hsl": {
    "h": 269.809,
    "s": 86.74,
    "l": 64.51
  },
  "oklch": {
    "l": 0.62093,
    "c": 0.22624,
    "h": 303.2
  },
  "luminance": 0.21019
}

Semantic roles & 50–950 ramp

primary
#A456F3
secondary
#D3EDB7
accent
#E30273
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #A456F3

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

Preview Lab → · Contrast checker → · Palette generator →

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