#A56FF3#A56FF3

#A56FF3 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.7% C 0.192 H 300.0°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A56FF3
RGBrgb(165, 111, 243)
HSLhsl(265, 85%, 69%)
HSVhsv(265, 54%, 95%)
CMYKcmyk(32.1%, 54.3%, 0%, 4.7%)
CIE-LABlab(57.88, 47.85, -58.77)
CIE-LCHlch(57.88, 75.78, 309.15°)
OKLaboklab(65.7% 0.0961 -0.1661)
OKLCHoklch(65.7% 0.192 300)
XYZxyz(37.3753, 25.8390, 87.7950)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56FF3 #BDF36F
analogous
#6F7BF3 #A56FF3 #E76FF3
triadic
#A56FF3 #F3A56F #6FF3A5
tetradic
#A56FF3 #F36F7B #BDF36F #6FF3E7
square
#A56FF3 #F36F7B #BDF36F #6FF3E7
split-complementary
#A56FF3 #F3E76F #7BF36F
monochromatic
#6212D6 #8237EE #A56FF3 #C8A7F8 #ECE0FC

Accessibility & contrast

On white

3.40
#A56FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#A56FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56FF3
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56FF3#FFFFFF#000000##000000
##A56FF31.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#398BF7
Deuteranopia (green-blind)
#4B8AF0
Tritanopia (blue-blind)
#9589A7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a56ff3;
/* rgb */ color: rgb(165, 111, 243);
/* oklch */ color: oklch(65.7% 0.192 300.0);
Tailwind
colors: {
  custom: {
    50: '#c39af8',
    500: '#a56ff3',
    950: '#000000',
  },
}
SCSS
$custom: #a56ff3;
$custom-light: #c39af8;
$custom-dark: #000000;
JSON
{
  "hex": "#a56ff3",
  "rgb": {
    "r": 165,
    "g": 111,
    "b": 243
  },
  "hsl": {
    "h": 264.545,
    "s": 84.615,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65699,
    "c": 0.1919,
    "h": 300
  },
  "luminance": 0.25839
}

Semantic roles & 50–950 ramp

primary
#A56FF3
secondary
#E2F2CC
accent
#E10487
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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