#A56BEB#A56BEB

#A56BEB is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.6% C 0.188 H 302.3°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#A56BEB
RGBrgb(165, 107, 235)
HSLhsl(267, 76%, 67%)
HSVhsv(267, 54%, 92%)
CMYKcmyk(29.8%, 54.5%, 0%, 7.8%)
CIE-LABlab(56.60, 48.06, -56.37)
CIE-LCHlch(56.60, 74.08, 310.45°)
OKLaboklab(64.6% 0.1008 -0.1591)
OKLCHoklch(64.6% 0.188 302.3)
XYZxyz(35.7667, 24.5128, 81.4283)
Luminance0.2451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56BEB #B1EB6B
analogous
#6B71EB #A56BEB #E56BEB
triadic
#A56BEB #EBA56B #6BEBA5
tetradic
#A56BEB #EB6B71 #B1EB6B #6BEBE5
square
#A56BEB #EB6B71 #B1EB6B #6BEBE5
split-complementary
#A56BEB #EBE56B #71EB6B
monochromatic
#661AC1 #8435E4 #A56BEB #C6A1F2 #E7D7FA

Accessibility & contrast

On white

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

On black

5.90
#A56BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56BEB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56BEB#FFFFFF#000000##000000
##A56BEB1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87EF
Deuteranopia (green-blind)
#4E87E8
Tritanopia (blue-blind)
#9884A1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a56beb;
/* rgb */ color: rgb(165, 107, 235);
/* oklch */ color: oklch(64.6% 0.188 302.3);
Tailwind
colors: {
  custom: {
    50: '#c397f2',
    500: '#a56beb',
    950: '#000000',
  },
}
SCSS
$custom: #a56beb;
$custom-light: #c397f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a56beb",
  "rgb": {
    "r": 165,
    "g": 107,
    "b": 235
  },
  "hsl": {
    "h": 267.188,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64604,
    "c": 0.18832,
    "h": 302.3
  },
  "luminance": 0.24513
}

Semantic roles & 50–950 ramp

primary
#A56BEB
secondary
#DBEDC5
accent
#D80D7C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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