#A56FEE#A56FEE

#A56FEE is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.4% C 0.186 H 301.0°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A56FEE
RGBrgb(165, 111, 238)
HSLhsl(266, 79%, 68%)
HSVhsv(266, 53%, 93%)
CMYKcmyk(30.7%, 53.4%, 0%, 6.7%)
CIE-LABlab(57.60, 46.63, -56.44)
CIE-LCHlch(57.60, 73.21, 309.56°)
OKLaboklab(65.4% 0.0959 -0.1593)
OKLCHoklch(65.4% 0.186 301)
XYZxyz(36.6305, 25.5411, 83.8724)
Luminance0.2554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56FEE #B8EE6F
analogous
#6F78EE #A56FEE #E56FEE
triadic
#A56FEE #EEA56F #6FEEA5
tetradic
#A56FEE #EE6F78 #B8EE6F #6FEEE5
square
#A56FEE #EE6F78 #B8EE6F #6FEEE5
split-complementary
#A56FEE #EEE56F #78EE6F
monochromatic
#6418CB #8338E8 #A56FEE #C7A6F4 #E9DCFB

Accessibility & contrast

On white

3.44
#A56FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#A56FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56FEE
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56FEE#FFFFFF#000000##000000
##A56FEE1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8AF2
Deuteranopia (green-blind)
#508AEB
Tritanopia (blue-blind)
#9788A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a56fee;
/* rgb */ color: rgb(165, 111, 238);
/* oklch */ color: oklch(65.4% 0.186 301.0);
Tailwind
colors: {
  custom: {
    50: '#c39af4',
    500: '#a56fee',
    950: '#000000',
  },
}
SCSS
$custom: #a56fee;
$custom-light: #c39af4;
$custom-dark: #000000;
JSON
{
  "hex": "#a56fee",
  "rgb": {
    "r": 165,
    "g": 111,
    "b": 238
  },
  "hsl": {
    "h": 265.512,
    "s": 78.882,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65397,
    "c": 0.18594,
    "h": 301
  },
  "luminance": 0.25541
}

Semantic roles & 50–950 ramp

primary
#A56FEE
secondary
#DFF0C9
accent
#DB0A82
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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