#A56EF6#A56EF6

#A56EF6 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.7% C 0.197 H 299.6°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A56EF6
RGBrgb(165, 110, 246)
HSLhsl(264, 88%, 70%)
HSVhsv(264, 55%, 96%)
CMYKcmyk(32.9%, 55.3%, 0%, 3.5%)
CIE-LABlab(57.85, 49.12, -60.48)
CIE-LCHlch(57.85, 77.92, 309.08°)
OKLaboklab(65.73% 0.0974 -0.1712)
OKLCHoklch(65.73% 0.197 299.6)
XYZxyz(37.7235, 25.8047, 90.1643)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56EF6 #BFF66E
analogous
#6E7BF6 #A56EF6 #E96EF6
triadic
#A56EF6 #F6A56E #6EF6A5
tetradic
#A56EF6 #F66E7B #BFF66E #6EF6E9
square
#A56EF6 #F66E7B #BFF66E #6EF6E9
split-complementary
#A56EF6 #F6E96E #7BF66E
monochromatic
#610EDC #8134F2 #A56EF6 #C9A8FA #EDE1FD

Accessibility & contrast

On white

3.41
#A56EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#A56EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56EF6
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56EF6#FFFFFF#000000##000000
##A56EF61.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#338BFB
Deuteranopia (green-blind)
#478AF3
Tritanopia (blue-blind)
#9489A8
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a56ef6;
/* rgb */ color: rgb(165, 110, 246);
/* oklch */ color: oklch(65.7% 0.197 299.6);
Tailwind
colors: {
  custom: {
    50: '#c499fa',
    500: '#a56ef6',
    950: '#000000',
  },
}
SCSS
$custom: #a56ef6;
$custom-light: #c499fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a56ef6",
  "rgb": {
    "r": 165,
    "g": 110,
    "b": 246
  },
  "hsl": {
    "h": 264.265,
    "s": 88.312,
    "l": 69.804
  },
  "oklch": {
    "l": 0.65731,
    "c": 0.19692,
    "h": 299.6
  },
  "luminance": 0.25805
}

Semantic roles & 50–950 ramp

primary
#A56EF6
secondary
#E4F3CD
accent
#E50189
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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