#A56FEF#A56FEF

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

Color values

HEX#A56FEF
RGBrgb(165, 111, 239)
HSLhsl(265, 80%, 69%)
HSVhsv(265, 54%, 94%)
CMYKcmyk(31%, 53.6%, 0%, 6.3%)
CIE-LABlab(57.66, 46.87, -56.91)
CIE-LCHlch(57.66, 73.72, 309.48°)
OKLaboklab(65.46% 0.0959 -0.1607)
OKLCHoklch(65.46% 0.187 300.8)
XYZxyz(36.7778, 25.6000, 84.6483)
Luminance0.2560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56FEF #B9EF6F
analogous
#6F79EF #A56FEF #E56FEF
triadic
#A56FEF #EFA56F #6FEFA5
tetradic
#A56FEF #EF6F79 #B9EF6F #6FEFE5
square
#A56FEF #EF6F79 #B9EF6F #6FEFE5
split-complementary
#A56FEF #EFE56F #79EF6F
monochromatic
#6417CD #8338E9 #A56FEF #C7A6F5 #EADDFB

Accessibility & contrast

On white

3.43
#A56FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#A56FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56FEF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56FEF#FFFFFF#000000##000000
##A56FEF1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8AF3
Deuteranopia (green-blind)
#4F8AEC
Tritanopia (blue-blind)
#9688A5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a56fef;
/* rgb */ color: rgb(165, 111, 239);
/* oklch */ color: oklch(65.5% 0.187 300.8);
Tailwind
colors: {
  custom: {
    50: '#c39af5',
    500: '#a56fef',
    950: '#000000',
  },
}
SCSS
$custom: #a56fef;
$custom-light: #c39af5;
$custom-dark: #000000;
JSON
{
  "hex": "#a56fef",
  "rgb": {
    "r": 165,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 265.313,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65457,
    "c": 0.18713,
    "h": 300.8
  },
  "luminance": 0.256
}

Semantic roles & 50–950 ramp

primary
#A56FEF
secondary
#E0F0CA
accent
#DC0983
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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