#A56FF1#A56FF1

#A56FF1 is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.6% C 0.190 H 300.4°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A56FF1
RGBrgb(165, 111, 241)
HSLhsl(265, 82%, 69%)
HSVhsv(265, 54%, 95%)
CMYKcmyk(31.5%, 53.9%, 0%, 5.5%)
CIE-LABlab(57.77, 47.36, -57.84)
CIE-LCHlch(57.77, 74.75, 309.31°)
OKLaboklab(65.58% 0.096 -0.1634)
OKLCHoklch(65.58% 0.19 300.4)
XYZxyz(37.0749, 25.7189, 86.2130)
Luminance0.2572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56FF1 #BBF16F
analogous
#6F7AF1 #A56FF1 #E66FF1
triadic
#A56FF1 #F1A56F #6FF1A5
tetradic
#A56FF1 #F16F7A #BBF16F #6FF1E6
square
#A56FF1 #F16F7A #BBF16F #6FF1E6
split-complementary
#A56FF1 #F1E66F #7AF16F
monochromatic
#6314D1 #8237EC #A56FF1 #C8A7F6 #EBDFFC

Accessibility & contrast

On white

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

On black

6.14
#A56FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56FF1
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56FF1#FFFFFF#000000##000000
##A56FF11.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8AF5
Deuteranopia (green-blind)
#4D8AEE
Tritanopia (blue-blind)
#9689A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a56ff1;
/* rgb */ color: rgb(165, 111, 241);
/* oklch */ color: oklch(65.6% 0.190 300.4);
Tailwind
colors: {
  custom: {
    50: '#c39af6',
    500: '#a56ff1',
    950: '#000000',
  },
}
SCSS
$custom: #a56ff1;
$custom-light: #c39af6;
$custom-dark: #000000;
JSON
{
  "hex": "#a56ff1",
  "rgb": {
    "r": 165,
    "g": 111,
    "b": 241
  },
  "hsl": {
    "h": 264.923,
    "s": 82.278,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65578,
    "c": 0.18951,
    "h": 300.4
  },
  "luminance": 0.25719
}

Semantic roles & 50–950 ramp

primary
#A56FF1
secondary
#E1F1CB
accent
#DF0785
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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