#A56FE9#A56FE9

#A56FE9 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.1% C 0.180 H 302.1°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#A56FE9
RGBrgb(165, 111, 233)
HSLhsl(267, 73%, 67%)
HSVhsv(267, 52%, 91%)
CMYKcmyk(29.2%, 52.4%, 0%, 8.6%)
CIE-LABlab(57.32, 45.42, -54.10)
CIE-LCHlch(57.32, 70.64, 310.01°)
OKLaboklab(65.1% 0.0956 -0.1525)
OKLCHoklch(65.1% 0.18 302.1)
XYZxyz(35.9061, 25.2513, 80.0574)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56FE9 #B3E96F
analogous
#6F76E9 #A56FE9 #E26FE9
triadic
#A56FE9 #E9A56F #6FE9A5
tetradic
#A56FE9 #E96F76 #B3E96F #6FE9E2
square
#A56FE9 #E96F76 #B3E96F #6FE9E2
split-complementary
#A56FE9 #E9E26F #76E96F
monochromatic
#651DC0 #843AE1 #A56FE9 #C6A4F1 #E7D9F9

Accessibility & contrast

On white

3.47
#A56FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#A56FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56FE9
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56FE9#FFFFFF#000000##000000
##A56FE91.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4489ED
Deuteranopia (green-blind)
#5489E6
Tritanopia (blue-blind)
#9886A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a56fe9;
/* rgb */ color: rgb(165, 111, 233);
/* oklch */ color: oklch(65.1% 0.180 302.1);
Tailwind
colors: {
  custom: {
    50: '#c39af1',
    500: '#a56fe9',
    950: '#000000',
  },
}
SCSS
$custom: #a56fe9;
$custom-light: #c39af1;
$custom-dark: #000000;
JSON
{
  "hex": "#a56fe9",
  "rgb": {
    "r": 165,
    "g": 111,
    "b": 233
  },
  "hsl": {
    "h": 266.557,
    "s": 73.494,
    "l": 67.451
  },
  "oklch": {
    "l": 0.651,
    "c": 0.17995,
    "h": 302.1
  },
  "luminance": 0.25251
}

Semantic roles & 50–950 ramp

primary
#A56FE9
secondary
#DCEDC7
accent
#D6107E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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