#A571EB#A571EB

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

Color values

HEX#A571EB
RGBrgb(165, 113, 235)
HSLhsl(266, 75%, 68%)
HSVhsv(266, 52%, 92%)
CMYKcmyk(29.8%, 51.9%, 0%, 7.8%)
CIE-LABlab(57.85, 44.81, -54.36)
CIE-LCHlch(57.85, 70.45, 309.50°)
OKLaboklab(65.53% 0.0932 -0.1532)
OKLCHoklch(65.53% 0.179 301.3)
XYZxyz(36.4141, 25.8076, 81.6441)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A571EB #B7EB71
analogous
#717AEB #A571EB #E271EB
triadic
#A571EB #EBA571 #71EBA5
tetradic
#A571EB #EB717A #B7EB71 #71EBE2
square
#A571EB #EB717A #B7EB71 #71EBE2
split-complementary
#A571EB #EBE271 #7AEB71
monochromatic
#641CC6 #833BE3 #A571EB #C7A7F3 #E9DCFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A571EB#FFFFFF#000000##000000
##A571EB1.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)
#468AEF
Deuteranopia (green-blind)
#558AE8
Tritanopia (blue-blind)
#9788A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a571eb;
/* rgb */ color: rgb(165, 113, 235);
/* oklch */ color: oklch(65.5% 0.179 301.3);
Tailwind
colors: {
  custom: {
    50: '#c39bf2',
    500: '#a571eb',
    950: '#000000',
  },
}
SCSS
$custom: #a571eb;
$custom-light: #c39bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a571eb",
  "rgb": {
    "r": 165,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 265.574,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65532,
    "c": 0.17933,
    "h": 301.3
  },
  "luminance": 0.25808
}

Semantic roles & 50–950 ramp

primary
#A571EB
secondary
#DFEEC9
accent
#D70E82
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A571EB

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

Preview Lab → · Contrast checker → · Palette generator →

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