#A456FA#A456FA

#A456FA is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.6% C 0.234 H 301.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A456FA
RGBrgb(164, 86, 250)
HSLhsl(269, 94%, 66%)
HSVhsv(269, 66%, 98%)
CMYKcmyk(34.4%, 65.6%, 0%, 2%)
CIE-LABlab(53.44, 62.09, -69.82)
CIE-LCHlch(53.44, 93.43, 311.65°)
OKLaboklab(62.58% 0.1232 -0.1986)
OKLCHoklch(62.58% 0.234 301.8)
XYZxyz(35.8888, 21.4501, 92.6735)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A456FA #ACFA56
analogous
#565AFA #A456FA #F656FA
triadic
#A456FA #FAA456 #56FAA4
tetradic
#A456FA #FA565A #ACFA56 #56FAF6
square
#A456FA #FA565A #ACFA56 #56FAF6
split-complementary
#A456FA #FAF656 #5AFA56
monochromatic
#6606CF #841BF8 #A456FA #C491FC #E4CDFE

Accessibility & contrast

On white

3.97
#A456FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#A456FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A456FA
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A456FA#FFFFFF#000000##000000
##A456FA1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#007FF6
Tritanopia (blue-blind)
#927BA1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a456fa;
/* rgb */ color: rgb(164, 86, 250);
/* oklch */ color: oklch(62.6% 0.234 301.8);
Tailwind
colors: {
  custom: {
    50: '#c58afd',
    500: '#a456fa',
    950: '#000000',
  },
}
SCSS
$custom: #a456fa;
$custom-light: #c58afd;
$custom-dark: #000000;
JSON
{
  "hex": "#a456fa",
  "rgb": {
    "r": 164,
    "g": 86,
    "b": 250
  },
  "hsl": {
    "h": 268.537,
    "s": 94.253,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62578,
    "c": 0.23365,
    "h": 301.8
  },
  "luminance": 0.2145
}

Semantic roles & 50–950 ramp

primary
#A456FA
secondary
#D7F1BB
accent
#E60078
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #A456FA

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

Preview Lab → · Contrast checker → · Palette generator →

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