#A56BEA#A56BEA

#A56BEA is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.5% C 0.187 H 302.6°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A56BEA
RGBrgb(165, 107, 234)
HSLhsl(267, 75%, 67%)
HSVhsv(267, 54%, 92%)
CMYKcmyk(29.5%, 54.3%, 0%, 8.2%)
CIE-LABlab(56.54, 47.82, -55.90)
CIE-LCHlch(56.54, 73.57, 310.54°)
OKLaboklab(64.54% 0.1007 -0.1577)
OKLCHoklch(64.54% 0.187 302.6)
XYZxyz(35.6227, 24.4552, 80.6696)
Luminance0.2445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56BEA #B0EA6B
analogous
#6B71EA #A56BEA #E56BEA
triadic
#A56BEA #EAA56B #6BEAA5
tetradic
#A56BEA #EA6B71 #B0EA6B #6BEAE5
square
#A56BEA #EA6B71 #B0EA6B #6BEAE5
split-complementary
#A56BEA #EAE56B #71EA6B
monochromatic
#661BBF #8435E2 #A56BEA #C6A1F2 #E6D6F9

Accessibility & contrast

On white

3.56
#A56BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#A56BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56BEA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56BEA#FFFFFF#000000##000000
##A56BEA1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B86EE
Deuteranopia (green-blind)
#4E87E7
Tritanopia (blue-blind)
#9883A0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a56bea;
/* rgb */ color: rgb(165, 107, 234);
/* oklch */ color: oklch(64.5% 0.187 302.6);
Tailwind
colors: {
  custom: {
    50: '#c397f1',
    500: '#a56bea',
    950: '#000000',
  },
}
SCSS
$custom: #a56bea;
$custom-light: #c397f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a56bea",
  "rgb": {
    "r": 165,
    "g": 107,
    "b": 234
  },
  "hsl": {
    "h": 267.402,
    "s": 75.148,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64543,
    "c": 0.18714,
    "h": 302.6
  },
  "luminance": 0.24455
}

Semantic roles & 50–950 ramp

primary
#A56BEA
secondary
#DAEDC4
accent
#D70E7B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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