#A56DF2#A56DF2

#A56DF2 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.3% C 0.194 H 300.6°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A56DF2
RGBrgb(165, 109, 242)
HSLhsl(265, 84%, 69%)
HSVhsv(265, 55%, 95%)
CMYKcmyk(31.8%, 55%, 0%, 5.1%)
CIE-LABlab(57.41, 48.68, -58.97)
CIE-LCHlch(57.41, 76.46, 309.54°)
OKLaboklab(65.33% 0.0985 -0.1667)
OKLCHoklch(65.33% 0.194 300.6)
XYZxyz(37.0089, 25.3472, 86.9299)
Luminance0.2535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56DF2 #BAF26D
analogous
#6D78F2 #A56DF2 #E86DF2
triadic
#A56DF2 #F2A56D #6DF2A5
tetradic
#A56DF2 #F26D78 #BAF26D #6DF2E8
square
#A56DF2 #F26D78 #BAF26D #6DF2E8
split-complementary
#A56DF2 #F2E86D #78F26D
monochromatic
#6313D2 #8235ED #A56DF2 #C8A5F7 #EADDFC

Accessibility & contrast

On white

3.46
#A56DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#A56DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56DF2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56DF2#FFFFFF#000000##000000
##A56DF21.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3689F6
Deuteranopia (green-blind)
#4989EF
Tritanopia (blue-blind)
#9587A5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a56df2;
/* rgb */ color: rgb(165, 109, 242);
/* oklch */ color: oklch(65.3% 0.194 300.6);
Tailwind
colors: {
  custom: {
    50: '#c399f7',
    500: '#a56df2',
    950: '#000000',
  },
}
SCSS
$custom: #a56df2;
$custom-light: #c399f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a56df2",
  "rgb": {
    "r": 165,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 265.263,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65333,
    "c": 0.19364,
    "h": 300.6
  },
  "luminance": 0.25347
}

Semantic roles & 50–950 ramp

primary
#A56DF2
secondary
#E1F1CA
accent
#E00584
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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