#A056FB#A056FB

#A056FB is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.2% C 0.234 H 300.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A056FB
RGBrgb(160, 86, 251)
HSLhsl(267, 95%, 66%)
HSVhsv(267, 66%, 98%)
CMYKcmyk(36.3%, 65.7%, 0%, 1.6%)
CIE-LABlab(53.05, 61.54, -71.02)
CIE-LCHlch(53.05, 93.97, 310.91°)
OKLaboklab(62.22% 0.1178 -0.2022)
OKLCHoklch(62.22% 0.234 300.2)
XYZxyz(35.2333, 21.0939, 93.4634)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A056FB #B1FB56
analogous
#565EFB #A056FB #F256FB
triadic
#A056FB #FBA056 #56FBA0
tetradic
#A056FB #FB565E #B1FB56 #56FBF2
square
#A056FB #FB565E #B1FB56 #56FBF2
split-complementary
#A056FB #FBF256 #5EFB56
monochromatic
#6105D2 #7E1AFA #A056FB #C292FC #E3CEFE

Accessibility & contrast

On white

4.02
#A056FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#A056FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A056FB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A056FB#FFFFFF#000000##000000
##A056FB1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#007DF8
Tritanopia (blue-blind)
#8C7CA2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a056fb;
/* rgb */ color: rgb(160, 86, 251);
/* oklch */ color: oklch(62.2% 0.234 300.2);
Tailwind
colors: {
  custom: {
    50: '#c28afe',
    500: '#a056fb',
    950: '#000000',
  },
}
SCSS
$custom: #a056fb;
$custom-light: #c28afe;
$custom-dark: #000000;
JSON
{
  "hex": "#a056fb",
  "rgb": {
    "r": 160,
    "g": 86,
    "b": 251
  },
  "hsl": {
    "h": 266.909,
    "s": 95.376,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62221,
    "c": 0.23405,
    "h": 300.2
  },
  "luminance": 0.21094
}

Semantic roles & 50–950 ramp

primary
#A056FB
secondary
#D9F2BB
accent
#E6007F
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #A056FB

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

Preview Lab → · Contrast checker → · Palette generator →

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