#A56EFB#A56EFB

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

Color values

HEX#A56EFB
RGBrgb(165, 110, 251)
HSLhsl(263, 95%, 71%)
HSVhsv(263, 56%, 98%)
CMYKcmyk(34.3%, 56.2%, 0%, 1.6%)
CIE-LABlab(58.15, 50.36, -62.77)
CIE-LCHlch(58.15, 80.48, 308.74°)
OKLaboklab(66.04% 0.0974 -0.1779)
OKLCHoklch(66.04% 0.203 298.7)
XYZxyz(38.5013, 26.1158, 94.2605)
Luminance0.2612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56EFB #C4FB6E
analogous
#6E7DFB #A56EFB #EB6EFB
triadic
#A56EFB #FBA56E #6EFBA5
tetradic
#A56EFB #FB6E7D #C4FB6E #6EFBEB
square
#A56EFB #FB6E7D #C4FB6E #6EFBEB
split-complementary
#A56EFB #FBEB6E #7DFB6E
monochromatic
#5E06E8 #8032F9 #A56EFB #CAAAFD #EDE1FE

Accessibility & contrast

On white

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

On black

6.22
#A56EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56EFB
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56EFB#FFFFFF#000000##000000
##A56EFB1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8CFF
Deuteranopia (green-blind)
#418AF8
Tritanopia (blue-blind)
#928BAA
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a56efb;
/* rgb */ color: rgb(165, 110, 251);
/* oklch */ color: oklch(66.0% 0.203 298.7);
Tailwind
colors: {
  custom: {
    50: '#c499fd',
    500: '#a56efb',
    950: '#000000',
  },
}
SCSS
$custom: #a56efb;
$custom-light: #c499fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a56efb",
  "rgb": {
    "r": 165,
    "g": 110,
    "b": 251
  },
  "hsl": {
    "h": 263.404,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66044,
    "c": 0.20282,
    "h": 298.7
  },
  "luminance": 0.26116
}

Semantic roles & 50–950 ramp

primary
#A56EFB
secondary
#E7F5CF
accent
#E6008C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A56EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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