#A56EE7#A56EE7

#A56EE7 is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.8% C 0.179 H 302.7°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A56EE7
RGBrgb(165, 110, 231)
HSLhsl(267, 72%, 67%)
HSVhsv(267, 52%, 91%)
CMYKcmyk(28.6%, 52.4%, 0%, 9.4%)
CIE-LABlab(57.00, 45.48, -53.50)
CIE-LCHlch(57.00, 70.22, 310.37°)
OKLaboklab(64.83% 0.0967 -0.1507)
OKLCHoklch(64.83% 0.179 302.7)
XYZxyz(35.5135, 24.9207, 78.5250)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56EE7 #B0E76E
analogous
#6E74E7 #A56EE7 #E26EE7
triadic
#A56EE7 #E7A56E #6EE7A5
tetradic
#A56EE7 #E76E74 #B0E76E #6EE7E2
square
#A56EE7 #E76E74 #B0E76E #6EE7E2
split-complementary
#A56EE7 #E7E26E #74E76E
monochromatic
#661FBC #8439DE #A56EE7 #C6A3F0 #E6D7F8

Accessibility & contrast

On white

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

On black

5.98
#A56EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56EE7
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56EE7#FFFFFF#000000##000000
##A56EE71.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4488EB
Deuteranopia (green-blind)
#5588E4
Tritanopia (blue-blind)
#9985A0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a56ee7;
/* rgb */ color: rgb(165, 110, 231);
/* oklch */ color: oklch(64.8% 0.179 302.7);
Tailwind
colors: {
  custom: {
    50: '#c399ef',
    500: '#a56ee7',
    950: '#000000',
  },
}
SCSS
$custom: #a56ee7;
$custom-light: #c399ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a56ee7",
  "rgb": {
    "r": 165,
    "g": 110,
    "b": 231
  },
  "hsl": {
    "h": 267.273,
    "s": 71.598,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64827,
    "c": 0.17907,
    "h": 302.7
  },
  "luminance": 0.24921
}

Semantic roles & 50–950 ramp

primary
#A56EE7
secondary
#DAECC5
accent
#D4127C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A56EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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