#A56FDF#A56FDF

#A56FDF is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.5% C 0.168 H 304.4°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A56FDF
RGBrgb(165, 111, 223)
HSLhsl(269, 64%, 65%)
HSVhsv(269, 50%, 87%)
CMYKcmyk(26%, 50.2%, 0%, 12.5%)
CIE-LABlab(56.78, 43.03, -49.36)
CIE-LCHlch(56.78, 65.49, 311.08°)
OKLaboklab(64.52% 0.0948 -0.1386)
OKLCHoklch(64.52% 0.168 304.4)
XYZxyz(34.5179, 24.6961, 72.7461)
Luminance0.2470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56FDF #A9DF6F
analogous
#6F71DF #A56FDF #DD6FDF
triadic
#A56FDF #DFA56F #6FDFA5
tetradic
#A56FDF #DF6F71 #A9DF6F #6FDFDD
square
#A56FDF #DF6F71 #A9DF6F #6FDFDD
split-complementary
#A56FDF #DFDD6F #71DF6F
monochromatic
#6726AD #863DD4 #A56FDF #C4A1EA #E4D3F5

Accessibility & contrast

On white

3.54
#A56FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#A56FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56FDF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56FDF#FFFFFF#000000##000000
##A56FDF1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D87E3
Deuteranopia (green-blind)
#5C88DC
Tritanopia (blue-blind)
#9B839D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a56fdf;
/* rgb */ color: rgb(165, 111, 223);
/* oklch */ color: oklch(64.5% 0.168 304.4);
Tailwind
colors: {
  custom: {
    50: '#c29ae9',
    500: '#a56fdf',
    950: '#000000',
  },
}
SCSS
$custom: #a56fdf;
$custom-light: #c29ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#a56fdf",
  "rgb": {
    "r": 165,
    "g": 111,
    "b": 223
  },
  "hsl": {
    "h": 268.929,
    "s": 63.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64524,
    "c": 0.16794,
    "h": 304.4
  },
  "luminance": 0.24696
}

Semantic roles & 50–950 ramp

primary
#A56FDF
secondary
#D6E8C2
accent
#CB1A76
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A56FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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