#A56FFC#A56FFC

#A56FFC is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.3% C 0.203 H 298.4°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A56FFC
RGBrgb(165, 111, 252)
HSLhsl(263, 96%, 71%)
HSVhsv(263, 56%, 99%)
CMYKcmyk(34.5%, 56%, 0%, 1.2%)
CIE-LABlab(58.41, 50.07, -62.90)
CIE-LCHlch(58.41, 80.40, 308.52°)
OKLaboklab(66.26% 0.0963 -0.1783)
OKLCHoklch(66.26% 0.203 298.4)
XYZxyz(38.7678, 26.3960, 95.1291)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56FFC #C6FC6F
analogous
#6F7FFC #A56FFC #EC6FFC
triadic
#A56FFC #FCA56F #6FFCA5
tetradic
#A56FFC #FC6F7F #C6FC6F #6FFCEC
square
#A56FFC #FC6F7F #C6FC6F #6FFCEC
split-complementary
#A56FFC #FCEC6F #7FFC6F
monochromatic
#5D05EC #8033FB #A56FFC #CAABFD #ECE1FE

Accessibility & contrast

On white

3.34
#A56FFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#A56FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56FFC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56FFC#FFFFFF#000000##000000
##A56FFC1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8DFF
Deuteranopia (green-blind)
#418BF9
Tritanopia (blue-blind)
#928CAB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a56ffc;
/* rgb */ color: rgb(165, 111, 252);
/* oklch */ color: oklch(66.3% 0.203 298.4);
Tailwind
colors: {
  custom: {
    50: '#c49afe',
    500: '#a56ffc',
    950: '#000000',
  },
}
SCSS
$custom: #a56ffc;
$custom-light: #c49afe;
$custom-dark: #000000;
JSON
{
  "hex": "#a56ffc",
  "rgb": {
    "r": 165,
    "g": 111,
    "b": 252
  },
  "hsl": {
    "h": 262.979,
    "s": 95.918,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66257,
    "c": 0.20259,
    "h": 298.4
  },
  "luminance": 0.26396
}

Semantic roles & 50–950 ramp

primary
#A56FFC
secondary
#E8F6D1
accent
#E6008E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A56FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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