#A571EC#A571EC

#A571EC is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.6% C 0.181 H 301.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A571EC
RGBrgb(165, 113, 236)
HSLhsl(265, 76%, 68%)
HSVhsv(265, 52%, 93%)
CMYKcmyk(30.1%, 52.1%, 0%, 7.5%)
CIE-LABlab(57.91, 45.05, -54.83)
CIE-LCHlch(57.91, 70.97, 309.41°)
OKLaboklab(65.59% 0.0932 -0.1546)
OKLCHoklch(65.59% 0.181 301.1)
XYZxyz(36.5590, 25.8656, 82.4071)
Luminance0.2587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A571EC #B8EC71
analogous
#717AEC #A571EC #E371EC
triadic
#A571EC #ECA571 #71ECA5
tetradic
#A571EC #EC717A #B8EC71 #71ECE3
square
#A571EC #EC717A #B8EC71 #71ECE3
split-complementary
#A571EC #ECE371 #7AEC71
monochromatic
#641BC8 #833BE5 #A571EC #C7A7F3 #E9DDFA

Accessibility & contrast

On white

3.40
#A571EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#A571EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A571EC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A571EC#FFFFFF#000000##000000
##A571EC1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#458AF0
Deuteranopia (green-blind)
#548BE9
Tritanopia (blue-blind)
#9788A4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a571ec;
/* rgb */ color: rgb(165, 113, 236);
/* oklch */ color: oklch(65.6% 0.181 301.1);
Tailwind
colors: {
  custom: {
    50: '#c39bf3',
    500: '#a571ec',
    950: '#000000',
  },
}
SCSS
$custom: #a571ec;
$custom-light: #c39bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a571ec",
  "rgb": {
    "r": 165,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 265.366,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65591,
    "c": 0.18053,
    "h": 301.1
  },
  "luminance": 0.25866
}

Semantic roles & 50–950 ramp

primary
#A571EC
secondary
#DFEFCA
accent
#D90D82
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A571EC

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

Preview Lab → · Contrast checker → · Palette generator →

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