#A456FB#A456FB

#A456FB is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.6% C 0.235 H 301.6°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#A456FB
RGBrgb(164, 86, 251)
HSLhsl(268, 95%, 66%)
HSVhsv(268, 66%, 98%)
CMYKcmyk(34.7%, 65.7%, 0%, 1.6%)
CIE-LABlab(53.51, 62.32, -70.26)
CIE-LCHlch(53.51, 93.92, 311.57°)
OKLaboklab(62.65% 0.123 -0.1999)
OKLCHoklch(62.65% 0.235 301.6)
XYZxyz(36.0461, 21.5130, 93.5015)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A456FB #ADFB56
analogous
#565AFB #A456FB #F756FB
triadic
#A456FB #FBA456 #56FBA4
tetradic
#A456FB #FB565A #ADFB56 #56FBF7
square
#A456FB #FB565A #ADFB56 #56FBF7
split-complementary
#A456FB #FBF756 #5AFB56
monochromatic
#6605D2 #841AFA #A456FB #C492FC #E4CEFE

Accessibility & contrast

On white

3.96
#A456FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#A456FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A456FB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A456FB#FFFFFF#000000##000000
##A456FB1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a456fb;
/* rgb */ color: rgb(164, 86, 251);
/* oklch */ color: oklch(62.6% 0.235 301.6);
Tailwind
colors: {
  custom: {
    50: '#c58afe',
    500: '#a456fb',
    950: '#000000',
  },
}
SCSS
$custom: #a456fb;
$custom-light: #c58afe;
$custom-dark: #000000;
JSON
{
  "hex": "#a456fb",
  "rgb": {
    "r": 164,
    "g": 86,
    "b": 251
  },
  "hsl": {
    "h": 268.364,
    "s": 95.376,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62648,
    "c": 0.23471,
    "h": 301.6
  },
  "luminance": 0.21513
}

Semantic roles & 50–950 ramp

primary
#A456FB
secondary
#D8F2BB
accent
#E60079
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #A456FB

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

Preview Lab → · Contrast checker → · Palette generator →

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