#A56CEF#A56CEF

#A56CEF is a light, vivid violet. Relative luminance 0.250; OKLCH L 65.0% C 0.192 H 301.3°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A56CEF
RGBrgb(165, 108, 239)
HSLhsl(266, 80%, 68%)
HSVhsv(266, 55%, 94%)
CMYKcmyk(31%, 54.8%, 0%, 6.3%)
CIE-LABlab(57.03, 48.49, -57.90)
CIE-LCHlch(57.03, 75.52, 309.94°)
OKLaboklab(65% 0.0996 -0.1636)
OKLCHoklch(65% 0.192 301.3)
XYZxyz(36.4560, 24.9563, 84.5410)
Luminance0.2496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56CEF #B6EF6C
analogous
#6C74EF #A56CEF #E76CEF
triadic
#A56CEF #EFA56C #6CEFA5
tetradic
#A56CEF #EF6C74 #B6EF6C #6CEFE7
square
#A56CEF #EF6C74 #B6EF6C #6CEFE7
split-complementary
#A56CEF #EFE76C #74EF6C
monochromatic
#6516CB #8335E9 #A56CEF #C7A3F5 #E9DAFB

Accessibility & contrast

On white

3.51
#A56CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#A56CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56CEF
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56CEF#FFFFFF#000000##000000
##A56CEF1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3788F3
Deuteranopia (green-blind)
#4B88EC
Tritanopia (blue-blind)
#9686A3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a56cef;
/* rgb */ color: rgb(165, 108, 239);
/* oklch */ color: oklch(65.0% 0.192 301.3);
Tailwind
colors: {
  custom: {
    50: '#c398f5',
    500: '#a56cef',
    950: '#000000',
  },
}
SCSS
$custom: #a56cef;
$custom-light: #c398f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a56cef",
  "rgb": {
    "r": 165,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 266.107,
    "s": 80.368,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64998,
    "c": 0.19155,
    "h": 301.3
  },
  "luminance": 0.24956
}

Semantic roles & 50–950 ramp

primary
#A56CEF
secondary
#DEEFC7
accent
#DD0980
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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