#A771FF#A771FF

#A771FF is a light, highly saturated violet. Relative luminance 0.272; OKLCH L 66.9% C 0.204 H 298.3°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A771FF
RGBrgb(167, 113, 255)
HSLhsl(263, 100%, 72%)
HSVhsv(263, 56%, 100%)
CMYKcmyk(34.5%, 55.7%, 0%, 0%)
CIE-LABlab(59.20, 50.20, -63.28)
CIE-LCHlch(59.20, 80.77, 308.43°)
OKLaboklab(66.94% 0.0964 -0.1793)
OKLCHoklch(66.94% 0.204 298.3)
XYZxyz(39.8870, 27.2453, 97.7458)
Luminance0.2725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A771FF #C9FF71
analogous
#7182FF #A771FF #EE71FF
triadic
#A771FF #FFA771 #71FFA7
tetradic
#A771FF #FF7182 #C9FF71 #71FFEE
square
#A771FF #FF7182 #C9FF71 #71FFEE
split-complementary
#A771FF #FFEE71 #82FF71
monochromatic
#5D00F6 #8134FF #A771FF #CDAEFF #ECE0FF

Accessibility & contrast

On white

3.26
#A771FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#A771FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A771FF
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A771FF#FFFFFF#000000##000000
##A771FF1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8FFF
Deuteranopia (green-blind)
#438DFC
Tritanopia (blue-blind)
#938EAD
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a771ff;
/* rgb */ color: rgb(167, 113, 255);
/* oklch */ color: oklch(66.9% 0.204 298.3);
Tailwind
colors: {
  custom: {
    50: '#c69bff',
    500: '#a771ff',
    950: '#000000',
  },
}
SCSS
$custom: #a771ff;
$custom-light: #c69bff;
$custom-dark: #000000;
JSON
{
  "hex": "#a771ff",
  "rgb": {
    "r": 167,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 262.817,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.66941,
    "c": 0.20358,
    "h": 298.3
  },
  "luminance": 0.27246
}

Semantic roles & 50–950 ramp

primary
#A771FF
secondary
#EAF7D4
accent
#E6008E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A771FF

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

Preview Lab → · Contrast checker → · Palette generator →

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