#A56BE3#A56BE3

#A56BE3 is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.1% C 0.179 H 304.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A56BE3
RGBrgb(165, 107, 227)
HSLhsl(269, 68%, 65%)
HSVhsv(269, 53%, 89%)
CMYKcmyk(27.3%, 52.9%, 0%, 11%)
CIE-LABlab(56.15, 46.15, -52.61)
CIE-LCHlch(56.15, 69.98, 311.26°)
OKLaboklab(64.13% 0.1004 -0.1481)
OKLCHoklch(64.13% 0.179 304.1)
XYZxyz(34.6368, 24.0609, 75.4776)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56BE3 #A9E36B
analogous
#6B6DE3 #A56BE3 #E16BE3
triadic
#A56BE3 #E3A56B #6BE3A5
tetradic
#A56BE3 #E36B6D #A9E36B #6BE3E1
square
#A56BE3 #E36B6D #A9E36B #6BE3E1
split-complementary
#A56BE3 #E3E16B #6DE36B
monochromatic
#6722B2 #8638D9 #A56BE3 #C49EED #E4D2F6

Accessibility & contrast

On white

3.61
#A56BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#A56BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56BE3
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56BE3#FFFFFF#000000##000000
##A56BE31.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4285E7
Deuteranopia (green-blind)
#5487E0
Tritanopia (blue-blind)
#9A819D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a56be3;
/* rgb */ color: rgb(165, 107, 227);
/* oklch */ color: oklch(64.1% 0.179 304.1);
Tailwind
colors: {
  custom: {
    50: '#c397ec',
    500: '#a56be3',
    950: '#000000',
  },
}
SCSS
$custom: #a56be3;
$custom-light: #c397ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a56be3",
  "rgb": {
    "r": 165,
    "g": 107,
    "b": 227
  },
  "hsl": {
    "h": 269,
    "s": 68.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64127,
    "c": 0.1789,
    "h": 304.1
  },
  "luminance": 0.24061
}

Semantic roles & 50–950 ramp

primary
#A56BE3
secondary
#D6E9C1
accent
#D01576
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A56BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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