#A56CEB#A56CEB

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

Color values

HEX#A56CEB
RGBrgb(165, 108, 235)
HSLhsl(267, 76%, 67%)
HSVhsv(267, 54%, 92%)
CMYKcmyk(29.8%, 54%, 0%, 7.8%)
CIE-LABlab(56.80, 47.52, -56.04)
CIE-LCHlch(56.80, 73.48, 310.30°)
OKLaboklab(64.76% 0.0995 -0.1581)
OKLCHoklch(64.76% 0.187 302.2)
XYZxyz(35.8716, 24.7226, 81.4633)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56CEB #B2EB6C
analogous
#6C73EB #A56CEB #E46CEB
triadic
#A56CEB #EBA56C #6CEBA5
tetradic
#A56CEB #EB6C73 #B2EB6C #6CEBE4
square
#A56CEB #EB6C73 #B2EB6C #6CEBE4
split-complementary
#A56CEB #EBE46C #73EB6C
monochromatic
#661AC2 #8436E4 #A56CEB #C6A2F2 #E7D8FA

Accessibility & contrast

On white

3.53
#A56CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A56CEB#FFFFFF#000000##000000
##A56CEB1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EF
Deuteranopia (green-blind)
#4F88E8
Tritanopia (blue-blind)
#9885A1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a56ceb;
/* rgb */ color: rgb(165, 108, 235);
/* oklch */ color: oklch(64.8% 0.187 302.2);
Tailwind
colors: {
  custom: {
    50: '#c398f2',
    500: '#a56ceb',
    950: '#000000',
  },
}
SCSS
$custom: #a56ceb;
$custom-light: #c398f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a56ceb",
  "rgb": {
    "r": 165,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 266.929,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64756,
    "c": 0.18684,
    "h": 302.2
  },
  "luminance": 0.24723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A56CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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