#A56FED#A56FED

#A56FED is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.3% C 0.185 H 301.2°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#A56FED
RGBrgb(165, 111, 237)
HSLhsl(266, 78%, 68%)
HSVhsv(266, 53%, 93%)
CMYKcmyk(30.4%, 53.2%, 0%, 7.1%)
CIE-LABlab(57.54, 46.38, -55.98)
CIE-LCHlch(57.54, 72.70, 309.65°)
OKLaboklab(65.34% 0.0958 -0.1579)
OKLCHoklch(65.34% 0.185 301.2)
XYZxyz(36.4840, 25.4825, 83.1009)
Luminance0.2548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56FED #B7ED6F
analogous
#6F78ED #A56FED #E46FED
triadic
#A56FED #EDA56F #6FEDA5
tetradic
#A56FED #ED6F78 #B7ED6F #6FEDE4
square
#A56FED #ED6F78 #B7ED6F #6FEDE4
split-complementary
#A56FED #EDE46F #78ED6F
monochromatic
#6419C9 #8339E6 #A56FED #C7A5F4 #E9DCFB

Accessibility & contrast

On white

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

On black

6.10
#A56FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56FED
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56FED#FFFFFF#000000##000000
##A56FED1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4089F1
Deuteranopia (green-blind)
#518AEA
Tritanopia (blue-blind)
#9787A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a56fed;
/* rgb */ color: rgb(165, 111, 237);
/* oklch */ color: oklch(65.3% 0.185 301.2);
Tailwind
colors: {
  custom: {
    50: '#c39af3',
    500: '#a56fed',
    950: '#000000',
  },
}
SCSS
$custom: #a56fed;
$custom-light: #c39af3;
$custom-dark: #000000;
JSON
{
  "hex": "#a56fed",
  "rgb": {
    "r": 165,
    "g": 111,
    "b": 237
  },
  "hsl": {
    "h": 265.714,
    "s": 77.778,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65337,
    "c": 0.18474,
    "h": 301.2
  },
  "luminance": 0.25483
}

Semantic roles & 50–950 ramp

primary
#A56FED
secondary
#DFEFC9
accent
#DA0B82
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56FED

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

Preview Lab → · Contrast checker → · Palette generator →

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