#A571F5#A571F5

#A571F5 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.1% C 0.191 H 299.3°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A571F5
RGBrgb(165, 113, 245)
HSLhsl(264, 87%, 70%)
HSVhsv(264, 54%, 96%)
CMYKcmyk(32.7%, 53.9%, 0%, 3.9%)
CIE-LABlab(58.42, 47.26, -59.02)
CIE-LCHlch(58.42, 75.61, 308.68°)
OKLaboklab(66.13% 0.0937 -0.1669)
OKLCHoklch(66.13% 0.191 299.3)
XYZxyz(37.8996, 26.4018, 89.4678)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A571F5 #C1F571
analogous
#717FF5 #A571F5 #E771F5
triadic
#A571F5 #F5A571 #71F5A5
tetradic
#A571F5 #F5717F #C1F571 #71F5E7
square
#A571F5 #F5717F #C1F571 #71F5E7
split-complementary
#A571F5 #F5E771 #7FF571
monochromatic
#6010DC #8138F1 #A571F5 #C9AAF9 #EDE2FD

Accessibility & contrast

On white

3.34
#A571F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#A571F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A571F5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A571F5#FFFFFF#000000##000000
##A571F51.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8CF9
Deuteranopia (green-blind)
#4C8BF2
Tritanopia (blue-blind)
#948BA8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a571f5;
/* rgb */ color: rgb(165, 113, 245);
/* oklch */ color: oklch(66.1% 0.191 299.3);
Tailwind
colors: {
  custom: {
    50: '#c49bf9',
    500: '#a571f5',
    950: '#000000',
  },
}
SCSS
$custom: #a571f5;
$custom-light: #c49bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#a571f5",
  "rgb": {
    "r": 165,
    "g": 113,
    "b": 245
  },
  "hsl": {
    "h": 263.636,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66129,
    "c": 0.19138,
    "h": 299.3
  },
  "luminance": 0.26402
}

Semantic roles & 50–950 ramp

primary
#A571F5
secondary
#E5F3CF
accent
#E3028B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A571F5

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

Preview Lab → · Contrast checker → · Palette generator →

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