#A56EFA#A56EFA

#A56EFA is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 66.0% C 0.202 H 298.9°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A56EFA
RGBrgb(165, 110, 250)
HSLhsl(264, 93%, 71%)
HSVhsv(264, 56%, 98%)
CMYKcmyk(34%, 56%, 0%, 2%)
CIE-LABlab(58.09, 50.11, -62.32)
CIE-LCHlch(58.09, 79.96, 308.80°)
OKLaboklab(65.98% 0.0974 -0.1766)
OKLCHoklch(65.98% 0.202 298.9)
XYZxyz(38.3441, 26.0529, 93.4325)
Luminance0.2605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56EFA #C3FA6E
analogous
#6E7DFA #A56EFA #EB6EFA
triadic
#A56EFA #FAA56E #6EFAA5
tetradic
#A56EFA #FA6E7D #C3FA6E #6EFAEB
square
#A56EFA #FA6E7D #C3FA6E #6EFAEB
split-complementary
#A56EFA #FAEB6E #7DFA6E
monochromatic
#5F08E6 #8033F8 #A56EFA #CAA9FC #EDE1FE

Accessibility & contrast

On white

3.38
#A56EFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#A56EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56EFA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56EFA#FFFFFF#000000##000000
##A56EFA1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8CFF
Deuteranopia (green-blind)
#428AF7
Tritanopia (blue-blind)
#928BAA
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a56efa;
/* rgb */ color: rgb(165, 110, 250);
/* oklch */ color: oklch(66.0% 0.202 298.9);
Tailwind
colors: {
  custom: {
    50: '#c499fd',
    500: '#a56efa',
    950: '#000000',
  },
}
SCSS
$custom: #a56efa;
$custom-light: #c499fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a56efa",
  "rgb": {
    "r": 165,
    "g": 110,
    "b": 250
  },
  "hsl": {
    "h": 263.571,
    "s": 93.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65981,
    "c": 0.20164,
    "h": 298.9
  },
  "luminance": 0.26053
}

Semantic roles & 50–950 ramp

primary
#A56EFA
secondary
#E6F5CF
accent
#E6008B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A56EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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