#A56BEC#A56BEC

#A56BEC is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.7% C 0.190 H 302.1°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A56BEC
RGBrgb(165, 107, 236)
HSLhsl(267, 77%, 67%)
HSVhsv(267, 55%, 93%)
CMYKcmyk(30.1%, 54.7%, 0%, 7.5%)
CIE-LABlab(56.65, 48.30, -56.84)
CIE-LCHlch(56.65, 74.59, 310.36°)
OKLaboklab(64.66% 0.1008 -0.1605)
OKLCHoklch(64.66% 0.19 302.1)
XYZxyz(35.9116, 24.5708, 82.1913)
Luminance0.2457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56BEC #B2EC6B
analogous
#6B71EC #A56BEC #E66BEC
triadic
#A56BEC #ECA56B #6BECA5
tetradic
#A56BEC #EC6B71 #B2EC6B #6BECE6
square
#A56BEC #EC6B71 #B2EC6B #6BECE6
split-complementary
#A56BEC #ECE66B #71EC6B
monochromatic
#6619C4 #8435E5 #A56BEC #C6A1F3 #E7D7FA

Accessibility & contrast

On white

3.55
#A56BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#A56BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56BEC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56BEC#FFFFFF#000000##000000
##A56BEC1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3887F0
Deuteranopia (green-blind)
#4D87E9
Tritanopia (blue-blind)
#9784A1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a56bec;
/* rgb */ color: rgb(165, 107, 236);
/* oklch */ color: oklch(64.7% 0.190 302.1);
Tailwind
colors: {
  custom: {
    50: '#c397f3',
    500: '#a56bec',
    950: '#000000',
  },
}
SCSS
$custom: #a56bec;
$custom-light: #c397f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a56bec",
  "rgb": {
    "r": 165,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 266.977,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64664,
    "c": 0.1895,
    "h": 302.1
  },
  "luminance": 0.24571
}

Semantic roles & 50–950 ramp

primary
#A56BEC
secondary
#DBEEC5
accent
#D90C7D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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