#A571F2#A571F2

#A571F2 is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.9% C 0.188 H 299.9°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A571F2
RGBrgb(165, 113, 242)
HSLhsl(264, 83%, 70%)
HSVhsv(264, 53%, 95%)
CMYKcmyk(31.8%, 53.3%, 0%, 5.1%)
CIE-LABlab(58.25, 46.52, -57.63)
CIE-LCHlch(58.25, 74.06, 308.91°)
OKLaboklab(65.95% 0.0935 -0.1628)
OKLCHoklch(65.95% 0.188 299.9)
XYZxyz(37.4454, 26.2201, 87.0754)
Luminance0.2622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A571F2 #BEF271
analogous
#717EF2 #A571F2 #E671F2
triadic
#A571F2 #F2A571 #71F2A5
tetradic
#A571F2 #F2717E #BEF271 #71F2E6
square
#A571F2 #F2717E #BEF271 #71F2E6
split-complementary
#A571F2 #F2E671 #7EF271
monochromatic
#6214D5 #8139ED #A571F2 #C9A9F7 #ECE1FC

Accessibility & contrast

On white

3.36
#A571F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#A571F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A571F2
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A571F2#FFFFFF#000000##000000
##A571F21.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8CF6
Deuteranopia (green-blind)
#4F8BEF
Tritanopia (blue-blind)
#958AA7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a571f2;
/* rgb */ color: rgb(165, 113, 242);
/* oklch */ color: oklch(65.9% 0.188 299.9);
Tailwind
colors: {
  custom: {
    50: '#c39bf7',
    500: '#a571f2',
    950: '#000000',
  },
}
SCSS
$custom: #a571f2;
$custom-light: #c39bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#a571f2",
  "rgb": {
    "r": 165,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 264.186,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65948,
    "c": 0.18777,
    "h": 299.9
  },
  "luminance": 0.2622
}

Semantic roles & 50–950 ramp

primary
#A571F2
secondary
#E3F2CD
accent
#E00688
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A571F2

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

Preview Lab → · Contrast checker → · Palette generator →

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