#A56EFC#A56EFC

#A56EFC is a light, highly saturated violet. Relative luminance 0.262; OKLCH L 66.1% C 0.204 H 298.5°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A56EFC
RGBrgb(165, 110, 252)
HSLhsl(263, 96%, 71%)
HSVhsv(263, 56%, 99%)
CMYKcmyk(34.5%, 56.3%, 0%, 1.2%)
CIE-LABlab(58.21, 50.60, -63.23)
CIE-LCHlch(58.21, 80.99, 308.67°)
OKLaboklab(66.11% 0.0974 -0.1792)
OKLCHoklch(66.11% 0.204 298.5)
XYZxyz(38.6593, 26.1790, 95.0929)
Luminance0.2618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56EFC #C5FC6E
analogous
#6E7EFC #A56EFC #EC6EFC
triadic
#A56EFC #FCA56E #6EFCA5
tetradic
#A56EFC #FC6E7E #C5FC6E #6EFCEC
square
#A56EFC #FC6E7E #C5FC6E #6EFCEC
split-complementary
#A56EFC #FCEC6E #7EFC6E
monochromatic
#5E05EB #8032FB #A56EFC #CAAAFD #ECE1FE

Accessibility & contrast

On white

3.37
#A56EFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#A56EFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56EFC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56EFC#FFFFFF#000000##000000
##A56EFC1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#298CFF
Deuteranopia (green-blind)
#408BF9
Tritanopia (blue-blind)
#928BAB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a56efc;
/* rgb */ color: rgb(165, 110, 252);
/* oklch */ color: oklch(66.1% 0.204 298.5);
Tailwind
colors: {
  custom: {
    50: '#c499fe',
    500: '#a56efc',
    950: '#000000',
  },
}
SCSS
$custom: #a56efc;
$custom-light: #c499fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a56efc",
  "rgb": {
    "r": 165,
    "g": 110,
    "b": 252
  },
  "hsl": {
    "h": 263.239,
    "s": 95.946,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66107,
    "c": 0.204,
    "h": 298.5
  },
  "luminance": 0.26179
}

Semantic roles & 50–950 ramp

primary
#A56EFC
secondary
#E7F6D0
accent
#E6008D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A56EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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