#A56FFB#A56FFB

#A56FFB is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.2% C 0.201 H 298.5°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A56FFB
RGBrgb(165, 111, 251)
HSLhsl(263, 95%, 71%)
HSVhsv(263, 56%, 98%)
CMYKcmyk(34.3%, 55.8%, 0%, 1.6%)
CIE-LABlab(58.35, 49.82, -62.45)
CIE-LCHlch(58.35, 79.88, 308.58°)
OKLaboklab(66.19% 0.0962 -0.1769)
OKLCHoklch(66.19% 0.201 298.5)
XYZxyz(38.6098, 26.3328, 94.2967)
Luminance0.2633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56FFB #C5FB6F
analogous
#6F7FFB #A56FFB #EB6FFB
triadic
#A56FFB #FBA56F #6FFBA5
tetradic
#A56FFB #FB6F7F #C5FB6F #6FFBEB
square
#A56FFB #FB6F7F #C5FB6F #6FFBEB
split-complementary
#A56FFB #FBEB6F #7FFB6F
monochromatic
#5E06E9 #8033F9 #A56FFB #CAABFD #ECE1FE

Accessibility & contrast

On white

3.35
#A56FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#A56FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56FFB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56FFB#FFFFFF#000000##000000
##A56FFB1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8CFF
Deuteranopia (green-blind)
#428BF8
Tritanopia (blue-blind)
#928CAB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a56ffb;
/* rgb */ color: rgb(165, 111, 251);
/* oklch */ color: oklch(66.2% 0.201 298.5);
Tailwind
colors: {
  custom: {
    50: '#c49afd',
    500: '#a56ffb',
    950: '#000000',
  },
}
SCSS
$custom: #a56ffb;
$custom-light: #c49afd;
$custom-dark: #000000;
JSON
{
  "hex": "#a56ffb",
  "rgb": {
    "r": 165,
    "g": 111,
    "b": 251
  },
  "hsl": {
    "h": 263.143,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66194,
    "c": 0.20141,
    "h": 298.5
  },
  "luminance": 0.26333
}

Semantic roles & 50–950 ramp

primary
#A56FFB
secondary
#E7F6D0
accent
#E6008D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A56FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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