#A56DEC#A56DEC

#A56DEC is a light, vivid violet. Relative luminance 0.250; OKLCH L 65.0% C 0.187 H 301.8°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A56DEC
RGBrgb(165, 109, 236)
HSLhsl(266, 77%, 68%)
HSVhsv(266, 54%, 93%)
CMYKcmyk(30.1%, 53.8%, 0%, 7.5%)
CIE-LABlab(57.07, 47.22, -56.18)
CIE-LCHlch(57.07, 73.39, 310.05°)
OKLaboklab(64.97% 0.0983 -0.1585)
OKLCHoklch(64.97% 0.187 301.8)
XYZxyz(36.1225, 24.9927, 82.2616)
Luminance0.2499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56DEC #B4EC6D
analogous
#6D74EC #A56DEC #E56DEC
triadic
#A56DEC #ECA56D #6DECA5
tetradic
#A56DEC #EC6D74 #B4EC6D #6DECE5
square
#A56DEC #EC6D74 #B4EC6D #6DECE5
split-complementary
#A56DEC #ECE56D #74EC6D
monochromatic
#651AC5 #8437E5 #A56DEC #C6A3F3 #E8D9FA

Accessibility & contrast

On white

3.50
#A56DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#A56DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56DEC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56DEC#FFFFFF#000000##000000
##A56DEC1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D88F0
Deuteranopia (green-blind)
#4F88E9
Tritanopia (blue-blind)
#9786A2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a56dec;
/* rgb */ color: rgb(165, 109, 236);
/* oklch */ color: oklch(65.0% 0.187 301.8);
Tailwind
colors: {
  custom: {
    50: '#c398f3',
    500: '#a56dec',
    950: '#000000',
  },
}
SCSS
$custom: #a56dec;
$custom-light: #c398f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a56dec",
  "rgb": {
    "r": 165,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 266.457,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64969,
    "c": 0.18653,
    "h": 301.8
  },
  "luminance": 0.24993
}

Semantic roles & 50–950 ramp

primary
#A56DEC
secondary
#DDEEC7
accent
#D90C7F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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