#A56FF5#A56FF5

#A56FF5 is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.8% C 0.194 H 299.7°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A56FF5
RGBrgb(165, 111, 245)
HSLhsl(264, 87%, 70%)
HSVhsv(264, 55%, 96%)
CMYKcmyk(32.7%, 54.7%, 0%, 3.9%)
CIE-LABlab(58.00, 48.34, -59.69)
CIE-LCHlch(58.00, 76.81, 309.00°)
OKLaboklab(65.82% 0.0961 -0.1688)
OKLCHoklch(65.82% 0.194 299.7)
XYZxyz(37.6790, 25.9605, 89.3943)
Luminance0.2596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56FF5 #BFF56F
analogous
#6F7CF5 #A56FF5 #E86FF5
triadic
#A56FF5 #F5A56F #6FF5A5
tetradic
#A56FF5 #F56F7C #BFF56F #6FF5E8
square
#A56FF5 #F56F7C #BFF56F #6FF5E8
split-complementary
#A56FF5 #F5E86F #7CF56F
monochromatic
#610FDA #8136F1 #A56FF5 #C9A8F9 #EDE1FD

Accessibility & contrast

On white

3.39
#A56FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#A56FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56FF5
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56FF5#FFFFFF#000000##000000
##A56FF51.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#378BF9
Deuteranopia (green-blind)
#498AF2
Tritanopia (blue-blind)
#948AA8
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a56ff5;
/* rgb */ color: rgb(165, 111, 245);
/* oklch */ color: oklch(65.8% 0.194 299.7);
Tailwind
colors: {
  custom: {
    50: '#c49af9',
    500: '#a56ff5',
    950: '#000000',
  },
}
SCSS
$custom: #a56ff5;
$custom-light: #c49af9;
$custom-dark: #000000;
JSON
{
  "hex": "#a56ff5",
  "rgb": {
    "r": 165,
    "g": 111,
    "b": 245
  },
  "hsl": {
    "h": 264.179,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.65822,
    "c": 0.19428,
    "h": 299.7
  },
  "luminance": 0.25961
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A56FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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