#A56BF2#A56BF2

#A56BF2 is a light, vivid violet. Relative luminance 0.249; OKLCH L 65.0% C 0.197 H 300.9°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A56BF2
RGBrgb(165, 107, 242)
HSLhsl(266, 84%, 68%)
HSVhsv(266, 56%, 95%)
CMYKcmyk(31.8%, 55.8%, 0%, 5.1%)
CIE-LABlab(57.00, 49.75, -59.62)
CIE-LCHlch(57.00, 77.65, 309.84°)
OKLaboklab(65.03% 0.1009 -0.1686)
OKLCHoklch(65.03% 0.197 300.9)
XYZxyz(36.7980, 24.9253, 86.8596)
Luminance0.2493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56BF2 #B8F26B
analogous
#6B74F2 #A56BF2 #E96BF2
triadic
#A56BF2 #F2A56B #6BF2A5
tetradic
#A56BF2 #F26B74 #B8F26B #6BF2E9
square
#A56BF2 #F26B74 #B8F26B #6BF2E9
split-complementary
#A56BF2 #F2E96B #74F26B
monochromatic
#6412D0 #8333ED #A56BF2 #C7A3F7 #E9DCFC

Accessibility & contrast

On white

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

On black

5.99
#A56BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56BF2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56BF2#FFFFFF#000000##000000
##A56BF21.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3188F6
Deuteranopia (green-blind)
#4788EF
Tritanopia (blue-blind)
#9586A4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a56bf2;
/* rgb */ color: rgb(165, 107, 242);
/* oklch */ color: oklch(65.0% 0.197 300.9);
Tailwind
colors: {
  custom: {
    50: '#c497f7',
    500: '#a56bf2',
    950: '#000000',
  },
}
SCSS
$custom: #a56bf2;
$custom-light: #c497f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a56bf2",
  "rgb": {
    "r": 165,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 265.778,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65032,
    "c": 0.19654,
    "h": 300.9
  },
  "luminance": 0.24926
}

Semantic roles & 50–950 ramp

primary
#A56BF2
secondary
#DFF1C8
accent
#E00582
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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