#A56ECB#A56ECB

#A56ECB is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.3% C 0.146 H 310.1°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A56ECB
RGBrgb(165, 110, 203)
HSLhsl(275, 47%, 61%)
HSVhsv(275, 46%, 80%)
CMYKcmyk(18.7%, 45.8%, 0%, 20.4%)
CIE-LABlab(55.55, 38.98, -40.01)
CIE-LCHlch(55.55, 55.85, 314.25°)
OKLaboklab(63.28% 0.0938 -0.1114)
OKLCHoklch(63.28% 0.146 310.1)
XYZxyz(31.8705, 23.4635, 59.3383)
Luminance0.2346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56ECB #94CB6E
analogous
#776ECB #A56ECB #CB6EC3
triadic
#A56ECB #CBA56E #6ECBA5
tetradic
#A56ECB #CB776E #94CB6E #6EC3CB
square
#A56ECB #CB776E #94CB6E #6EC3CB
split-complementary
#A56ECB #C3CB6E #6ECB77
monochromatic
#68328C #8942B9 #A56ECB #C19BDB #DDC8EB

Accessibility & contrast

On white

3.69
#A56ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#A56ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56ECB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56ECB#FFFFFF#000000##000000
##A56ECB1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5982CE
Deuteranopia (green-blind)
#6786C9
Tritanopia (blue-blind)
#A07D93
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a56ecb;
/* rgb */ color: rgb(165, 110, 203);
/* oklch */ color: oklch(63.3% 0.146 310.1);
Tailwind
colors: {
  custom: {
    50: '#c199db',
    500: '#a56ecb',
    950: '#000000',
  },
}
SCSS
$custom: #a56ecb;
$custom-light: #c199db;
$custom-dark: #000000;
JSON
{
  "hex": "#a56ecb",
  "rgb": {
    "r": 165,
    "g": 110,
    "b": 203
  },
  "hsl": {
    "h": 275.484,
    "s": 47.208,
    "l": 61.373
  },
  "oklch": {
    "l": 0.63276,
    "c": 0.14562,
    "h": 310.1
  },
  "luminance": 0.23463
}

Semantic roles & 50–950 ramp

primary
#A56ECB
secondary
#C7DCB9
accent
#BA2B66
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A56ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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