#A56EF2#A56EF2

#A56EF2 is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.5% C 0.192 H 300.4°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A56EF2
RGBrgb(165, 110, 242)
HSLhsl(265, 84%, 69%)
HSVhsv(265, 55%, 95%)
CMYKcmyk(31.8%, 54.5%, 0%, 5.1%)
CIE-LABlab(57.62, 48.14, -58.63)
CIE-LCHlch(57.62, 75.87, 309.39°)
OKLaboklab(65.49% 0.0973 -0.1657)
OKLCHoklch(65.49% 0.192 300.4)
XYZxyz(37.1162, 25.5618, 86.9657)
Luminance0.2556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56EF2 #BBF26E
analogous
#6E79F2 #A56EF2 #E76EF2
triadic
#A56EF2 #F2A56E #6EF2A5
tetradic
#A56EF2 #F26E79 #BBF26E #6EF2E7
square
#A56EF2 #F26E79 #BBF26E #6EF2E7
split-complementary
#A56EF2 #F2E76E #79F26E
monochromatic
#6313D3 #8236ED #A56EF2 #C8A6F7 #EBDEFC

Accessibility & contrast

On white

3.44
#A56EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#A56EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56EF2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56EF2#FFFFFF#000000##000000
##A56EF21.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#388AF6
Deuteranopia (green-blind)
#4B8AEF
Tritanopia (blue-blind)
#9588A6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a56ef2;
/* rgb */ color: rgb(165, 110, 242);
/* oklch */ color: oklch(65.5% 0.192 300.4);
Tailwind
colors: {
  custom: {
    50: '#c399f7',
    500: '#a56ef2',
    950: '#000000',
  },
}
SCSS
$custom: #a56ef2;
$custom-light: #c399f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a56ef2",
  "rgb": {
    "r": 165,
    "g": 110,
    "b": 242
  },
  "hsl": {
    "h": 265,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65485,
    "c": 0.19218,
    "h": 300.4
  },
  "luminance": 0.25562
}

Semantic roles & 50–950 ramp

primary
#A56EF2
secondary
#E1F1CB
accent
#E00685
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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