#A56BEE#A56BEE

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

Color values

HEX#A56BEE
RGBrgb(165, 107, 238)
HSLhsl(267, 79%, 68%)
HSVhsv(267, 55%, 93%)
CMYKcmyk(30.7%, 55%, 0%, 6.7%)
CIE-LABlab(56.77, 48.78, -57.77)
CIE-LCHlch(56.77, 75.61, 310.18°)
OKLaboklab(64.79% 0.1009 -0.1632)
OKLCHoklch(64.79% 0.192 301.7)
XYZxyz(36.2038, 24.6877, 83.7302)
Luminance0.2469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56BEE #B4EE6B
analogous
#6B72EE #A56BEE #E76BEE
triadic
#A56BEE #EEA56B #6BEEA5
tetradic
#A56BEE #EE6B72 #B4EE6B #6BEEE7
square
#A56BEE #EE6B72 #B4EE6B #6BEEE7
split-complementary
#A56BEE #EEE76B #72EE6B
monochromatic
#6517C8 #8434E8 #A56BEE #C6A2F4 #E8D9FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A56BEE#FFFFFF#000000##000000
##A56BEE1.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)
#3687F2
Deuteranopia (green-blind)
#4B88EB
Tritanopia (blue-blind)
#9785A2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a56bee;
/* rgb */ color: rgb(165, 107, 238);
/* oklch */ color: oklch(64.8% 0.192 301.7);
Tailwind
colors: {
  custom: {
    50: '#c397f4',
    500: '#a56bee',
    950: '#000000',
  },
}
SCSS
$custom: #a56bee;
$custom-light: #c397f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a56bee",
  "rgb": {
    "r": 165,
    "g": 107,
    "b": 238
  },
  "hsl": {
    "h": 266.565,
    "s": 79.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64786,
    "c": 0.19185,
    "h": 301.7
  },
  "luminance": 0.24688
}

Semantic roles & 50–950 ramp

primary
#A56BEE
secondary
#DDEFC6
accent
#DC0A7F
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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