#A771FD#A771FD

#A771FD is a light, highly saturated violet. Relative luminance 0.271; OKLCH L 66.8% C 0.201 H 298.6°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A771FD
RGBrgb(167, 113, 253)
HSLhsl(263, 97%, 72%)
HSVhsv(263, 55%, 99%)
CMYKcmyk(34%, 55.3%, 0%, 0.8%)
CIE-LABlab(59.08, 49.70, -62.37)
CIE-LCHlch(59.08, 79.75, 308.55°)
OKLaboklab(66.82% 0.0964 -0.1766)
OKLCHoklch(66.82% 0.201 298.6)
XYZxyz(39.5667, 27.1172, 96.0590)
Luminance0.2712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A771FD #C7FD71
analogous
#7181FD #A771FD #ED71FD
triadic
#A771FD #FDA771 #71FDA7
tetradic
#A771FD #FD7181 #C7FD71 #71FDED
square
#A771FD #FD7181 #C7FD71 #71FDED
split-complementary
#A771FD #FDED71 #81FD71
monochromatic
#5F03F0 #8235FC #A771FD #CCADFE #ECE1FF

Accessibility & contrast

On white

3.27
#A771FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#A771FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A771FD
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A771FD#FFFFFF#000000##000000
##A771FD1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#328EFF
Deuteranopia (green-blind)
#458DFA
Tritanopia (blue-blind)
#948DAC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a771fd;
/* rgb */ color: rgb(167, 113, 253);
/* oklch */ color: oklch(66.8% 0.201 298.6);
Tailwind
colors: {
  custom: {
    50: '#c59bff',
    500: '#a771fd',
    950: '#000000',
  },
}
SCSS
$custom: #a771fd;
$custom-light: #c59bff;
$custom-dark: #000000;
JSON
{
  "hex": "#a771fd",
  "rgb": {
    "r": 167,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 263.143,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66816,
    "c": 0.20121,
    "h": 298.6
  },
  "luminance": 0.27118
}

Semantic roles & 50–950 ramp

primary
#A771FD
secondary
#E9F7D3
accent
#E6008D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A771FD

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

Preview Lab → · Contrast checker → · Palette generator →

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