#A56EF1#A56EF1

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

Color values

HEX#A56EF1
RGBrgb(165, 110, 241)
HSLhsl(265, 82%, 69%)
HSVhsv(265, 54%, 95%)
CMYKcmyk(31.5%, 54.4%, 0%, 5.5%)
CIE-LABlab(57.56, 47.90, -58.17)
CIE-LCHlch(57.56, 75.35, 309.47°)
OKLaboklab(65.42% 0.0972 -0.1644)
OKLCHoklch(65.42% 0.191 300.6)
XYZxyz(36.9664, 25.5019, 86.1769)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56EF1 #BAF16E
analogous
#6E79F1 #A56EF1 #E76EF1
triadic
#A56EF1 #F1A56E #6EF1A5
tetradic
#A56EF1 #F16E79 #BAF16E #6EF1E7
square
#A56EF1 #F16E79 #BAF16E #6EF1E7
split-complementary
#A56EF1 #F1E76E #79F16E
monochromatic
#6314D0 #8236EC #A56EF1 #C8A6F6 #EADEFC

Accessibility & contrast

On white

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

On black

6.10
#A56EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56EF1
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56EF1#FFFFFF#000000##000000
##A56EF11.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#398AF5
Deuteranopia (green-blind)
#4C89EE
Tritanopia (blue-blind)
#9688A5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a56ef1;
/* rgb */ color: rgb(165, 110, 241);
/* oklch */ color: oklch(65.4% 0.191 300.6);
Tailwind
colors: {
  custom: {
    50: '#c399f6',
    500: '#a56ef1',
    950: '#000000',
  },
}
SCSS
$custom: #a56ef1;
$custom-light: #c399f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a56ef1",
  "rgb": {
    "r": 165,
    "g": 110,
    "b": 241
  },
  "hsl": {
    "h": 265.191,
    "s": 82.39,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65424,
    "c": 0.19099,
    "h": 300.6
  },
  "luminance": 0.25502
}

Semantic roles & 50–950 ramp

primary
#A56EF1
secondary
#E1F1CA
accent
#DF0784
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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