#A56FF7#A56FF7

#A56FF7 is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.9% C 0.197 H 299.3°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A56FF7
RGBrgb(165, 111, 247)
HSLhsl(264, 89%, 70%)
HSVhsv(264, 55%, 97%)
CMYKcmyk(33.2%, 55.1%, 0%, 3.1%)
CIE-LABlab(58.12, 48.83, -60.61)
CIE-LCHlch(58.12, 77.83, 308.86°)
OKLaboklab(65.94% 0.0962 -0.1715)
OKLCHoklch(65.94% 0.197 299.3)
XYZxyz(37.9859, 26.0833, 91.0110)
Luminance0.2608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56FF7 #C1F76F
analogous
#6F7DF7 #A56FF7 #E96FF7
triadic
#A56FF7 #F7A56F #6FF7A5
tetradic
#A56FF7 #F76F7D #C1F76F #6FF7E9
square
#A56FF7 #F76F7D #C1F76F #6FF7E9
split-complementary
#A56FF7 #F7E96F #7DF76F
monochromatic
#600CDF #8135F4 #A56FF7 #C9A9FA #EDE2FD

Accessibility & contrast

On white

3.38
#A56FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#A56FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56FF7
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56FF7#FFFFFF#000000##000000
##A56FF71.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#348CFC
Deuteranopia (green-blind)
#478BF4
Tritanopia (blue-blind)
#938AA9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a56ff7;
/* rgb */ color: rgb(165, 111, 247);
/* oklch */ color: oklch(65.9% 0.197 299.3);
Tailwind
colors: {
  custom: {
    50: '#c49afa',
    500: '#a56ff7',
    950: '#000000',
  },
}
SCSS
$custom: #a56ff7;
$custom-light: #c49afa;
$custom-dark: #000000;
JSON
{
  "hex": "#a56ff7",
  "rgb": {
    "r": 165,
    "g": 111,
    "b": 247
  },
  "hsl": {
    "h": 263.824,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65945,
    "c": 0.19667,
    "h": 299.3
  },
  "luminance": 0.26084
}

Semantic roles & 50–950 ramp

primary
#A56FF7
secondary
#E5F4CE
accent
#E6008A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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