#A56FEB#A56FEB

#A56FEB is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.2% C 0.182 H 301.7°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A56FEB
RGBrgb(165, 111, 235)
HSLhsl(266, 76%, 68%)
HSVhsv(266, 53%, 92%)
CMYKcmyk(29.8%, 52.8%, 0%, 7.8%)
CIE-LABlab(57.43, 45.90, -55.04)
CIE-LCHlch(57.43, 71.67, 309.83°)
OKLaboklab(65.22% 0.0957 -0.1552)
OKLCHoklch(65.22% 0.182 301.7)
XYZxyz(36.1934, 25.3663, 81.5705)
Luminance0.2537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56FEB #B5EB6F
analogous
#6F77EB #A56FEB #E36FEB
triadic
#A56FEB #EBA56F #6FEBA5
tetradic
#A56FEB #EB6F77 #B5EB6F #6FEBE3
square
#A56FEB #EB6F77 #B5EB6F #6FEBE3
split-complementary
#A56FEB #EBE36F #77EB6F
monochromatic
#651BC4 #8339E4 #A56FEB #C7A5F2 #E8DAFA

Accessibility & contrast

On white

3.46
#A56FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#A56FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56FEB
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56FEB#FFFFFF#000000##000000
##A56FEB1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4289EF
Deuteranopia (green-blind)
#5389E8
Tritanopia (blue-blind)
#9787A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a56feb;
/* rgb */ color: rgb(165, 111, 235);
/* oklch */ color: oklch(65.2% 0.182 301.7);
Tailwind
colors: {
  custom: {
    50: '#c39af2',
    500: '#a56feb',
    950: '#000000',
  },
}
SCSS
$custom: #a56feb;
$custom-light: #c39af2;
$custom-dark: #000000;
JSON
{
  "hex": "#a56feb",
  "rgb": {
    "r": 165,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 266.129,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65218,
    "c": 0.18234,
    "h": 301.7
  },
  "luminance": 0.25366
}

Semantic roles & 50–950 ramp

primary
#A56FEB
secondary
#DDEEC8
accent
#D80E80
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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