#A56EF7#A56EF7

#A56EF7 is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.8% C 0.198 H 299.4°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A56EF7
RGBrgb(165, 110, 247)
HSLhsl(264, 90%, 70%)
HSVhsv(264, 55%, 97%)
CMYKcmyk(33.2%, 55.5%, 0%, 3.1%)
CIE-LABlab(57.91, 49.37, -60.94)
CIE-LCHlch(57.91, 78.43, 309.01°)
OKLaboklab(65.79% 0.0974 -0.1725)
OKLCHoklch(65.79% 0.198 299.4)
XYZxyz(37.8774, 25.8663, 90.9748)
Luminance0.2587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56EF7 #C0F76E
analogous
#6E7BF7 #A56EF7 #EA6EF7
triadic
#A56EF7 #F7A56E #6EF7A5
tetradic
#A56EF7 #F76E7B #C0F76E #6EF7EA
square
#A56EF7 #F76E7B #C0F76E #6EF7EA
split-complementary
#A56EF7 #F7EA6E #7BF76E
monochromatic
#610CDE #8134F4 #A56EF7 #C9A8FA #EDE2FD

Accessibility & contrast

On white

3.40
#A56EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#A56EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56EF7
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56EF7#FFFFFF#000000##000000
##A56EF71.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#318BFC
Deuteranopia (green-blind)
#458AF4
Tritanopia (blue-blind)
#948AA8
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a56ef7;
/* rgb */ color: rgb(165, 110, 247);
/* oklch */ color: oklch(65.8% 0.198 299.4);
Tailwind
colors: {
  custom: {
    50: '#c499fa',
    500: '#a56ef7',
    950: '#000000',
  },
}
SCSS
$custom: #a56ef7;
$custom-light: #c499fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a56ef7",
  "rgb": {
    "r": 165,
    "g": 110,
    "b": 247
  },
  "hsl": {
    "h": 264.088,
    "s": 89.542,
    "l": 70
  },
  "oklch": {
    "l": 0.65793,
    "c": 0.19811,
    "h": 299.4
  },
  "luminance": 0.25867
}

Semantic roles & 50–950 ramp

primary
#A56EF7
secondary
#E4F4CD
accent
#E60089
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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