#A56FF2#A56FF2

#A56FF2 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.6% C 0.191 H 300.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A56FF2
RGBrgb(165, 111, 242)
HSLhsl(265, 83%, 69%)
HSVhsv(265, 54%, 95%)
CMYKcmyk(31.8%, 54.1%, 0%, 5.1%)
CIE-LABlab(57.83, 47.60, -58.30)
CIE-LCHlch(57.83, 75.27, 309.23°)
OKLaboklab(65.64% 0.096 -0.1648)
OKLCHoklch(65.64% 0.191 300.2)
XYZxyz(37.2247, 25.7788, 87.0018)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56FF2 #BCF26F
analogous
#6F7BF2 #A56FF2 #E76FF2
triadic
#A56FF2 #F2A56F #6FF2A5
tetradic
#A56FF2 #F26F7B #BCF26F #6FF2E7
square
#A56FF2 #F26F7B #BCF26F #6FF2E7
split-complementary
#A56FF2 #F2E76F #7BF26F
monochromatic
#6213D4 #8237ED #A56FF2 #C8A7F7 #EBDFFC

Accessibility & contrast

On white

3.41
#A56FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#A56FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56FF2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56FF2#FFFFFF#000000##000000
##A56FF21.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8BF6
Deuteranopia (green-blind)
#4C8AEF
Tritanopia (blue-blind)
#9589A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a56ff2;
/* rgb */ color: rgb(165, 111, 242);
/* oklch */ color: oklch(65.6% 0.191 300.2);
Tailwind
colors: {
  custom: {
    50: '#c39af7',
    500: '#a56ff2',
    950: '#000000',
  },
}
SCSS
$custom: #a56ff2;
$custom-light: #c39af7;
$custom-dark: #000000;
JSON
{
  "hex": "#a56ff2",
  "rgb": {
    "r": 165,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 264.733,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65639,
    "c": 0.19071,
    "h": 300.2
  },
  "luminance": 0.25779
}

Semantic roles & 50–950 ramp

primary
#A56FF2
secondary
#E2F1CB
accent
#E00686
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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