#A56EFE#A56EFE

#A56EFE is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.2% C 0.206 H 298.2°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A56EFE
RGBrgb(165, 110, 254)
HSLhsl(263, 99%, 71%)
HSVhsv(263, 57%, 100%)
CMYKcmyk(35%, 56.7%, 0%, 0.4%)
CIE-LABlab(58.33, 51.10, -64.14)
CIE-LCHlch(58.33, 82.01, 308.54°)
OKLaboklab(66.23% 0.0974 -0.1819)
OKLCHoklch(66.23% 0.206 298.2)
XYZxyz(38.9779, 26.3065, 96.7708)
Luminance0.2631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56EFE #C7FE6E
analogous
#6E7FFE #A56EFE #ED6EFE
triadic
#A56EFE #FEA56E #6EFEA5
tetradic
#A56EFE #FE6E7F #C7FE6E #6EFEED
square
#A56EFE #FE6E7F #C7FE6E #6EFEED
split-complementary
#A56EFE #FEED6E #7FFE6E
monochromatic
#5D02F0 #7F31FE #A56EFE #CBABFE #ECE1FF

Accessibility & contrast

On white

3.35
#A56EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#A56EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56EFE
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56EFE#FFFFFF#000000##000000
##A56EFE1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#258CFF
Deuteranopia (green-blind)
#3D8BFB
Tritanopia (blue-blind)
#918CAC
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a56efe;
/* rgb */ color: rgb(165, 110, 254);
/* oklch */ color: oklch(66.2% 0.206 298.2);
Tailwind
colors: {
  custom: {
    50: '#c499ff',
    500: '#a56efe',
    950: '#000000',
  },
}
SCSS
$custom: #a56efe;
$custom-light: #c499ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a56efe",
  "rgb": {
    "r": 165,
    "g": 110,
    "b": 254
  },
  "hsl": {
    "h": 262.917,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66233,
    "c": 0.20636,
    "h": 298.2
  },
  "luminance": 0.26307
}

Semantic roles & 50–950 ramp

primary
#A56EFE
secondary
#E8F7D1
accent
#E6008E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A56EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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