#A56EF5#A56EF5

#A56EF5 is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.7% C 0.196 H 299.8°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A56EF5
RGBrgb(165, 110, 245)
HSLhsl(264, 87%, 70%)
HSVhsv(264, 55%, 96%)
CMYKcmyk(32.7%, 55.1%, 0%, 3.9%)
CIE-LABlab(57.79, 48.88, -60.02)
CIE-LCHlch(57.79, 77.40, 309.16°)
OKLaboklab(65.67% 0.0973 -0.1698)
OKLCHoklch(65.67% 0.196 299.8)
XYZxyz(37.5705, 25.7435, 89.3581)
Luminance0.2574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56EF5 #BEF56E
analogous
#6E7BF5 #A56EF5 #E86EF5
triadic
#A56EF5 #F5A56E #6EF5A5
tetradic
#A56EF5 #F56E7B #BEF56E #6EF5E8
square
#A56EF5 #F56E7B #BEF56E #6EF5E8
split-complementary
#A56EF5 #F5E86E #7BF56E
monochromatic
#620FDA #8135F1 #A56EF5 #C9A7F9 #ECE1FD

Accessibility & contrast

On white

3.42
#A56EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#A56EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56EF5
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56EF5#FFFFFF#000000##000000
##A56EF51.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#348BF9
Deuteranopia (green-blind)
#488AF2
Tritanopia (blue-blind)
#9489A7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a56ef5;
/* rgb */ color: rgb(165, 110, 245);
/* oklch */ color: oklch(65.7% 0.196 299.8);
Tailwind
colors: {
  custom: {
    50: '#c499f9',
    500: '#a56ef5',
    950: '#000000',
  },
}
SCSS
$custom: #a56ef5;
$custom-light: #c499f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a56ef5",
  "rgb": {
    "r": 165,
    "g": 110,
    "b": 245
  },
  "hsl": {
    "h": 264.444,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6567,
    "c": 0.19573,
    "h": 299.8
  },
  "luminance": 0.25744
}

Semantic roles & 50–950 ramp

primary
#A56EF5
secondary
#E3F3CC
accent
#E40288
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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