#A771FA#A771FA

#A771FA is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.6% C 0.198 H 299.2°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A771FA
RGBrgb(167, 113, 250)
HSLhsl(264, 93%, 71%)
HSVhsv(264, 55%, 98%)
CMYKcmyk(33.2%, 54.8%, 0%, 2%)
CIE-LABlab(58.91, 48.96, -60.99)
CIE-LCHlch(58.91, 78.21, 308.76°)
OKLaboklab(66.63% 0.0963 -0.1726)
OKLCHoklch(66.63% 0.198 299.2)
XYZxyz(39.0926, 26.9275, 93.5619)
Luminance0.2693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A771FA #C4FA71
analogous
#717FFA #A771FA #EC71FA
triadic
#A771FA #FAA771 #71FAA7
tetradic
#A771FA #FA717F #C4FA71 #71FAEC
square
#A771FA #FA717F #C4FA71 #71FAEC
split-complementary
#A771FA #FAEC71 #7FFA71
monochromatic
#6108E8 #8236F8 #A771FA #CCACFC #EDE1FE

Accessibility & contrast

On white

3.29
#A771FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#A771FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A771FA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A771FA#FFFFFF#000000##000000
##A771FA1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#368EFF
Deuteranopia (green-blind)
#498DF7
Tritanopia (blue-blind)
#958DAB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a771fa;
/* rgb */ color: rgb(167, 113, 250);
/* oklch */ color: oklch(66.6% 0.198 299.2);
Tailwind
colors: {
  custom: {
    50: '#c59bfd',
    500: '#a771fa',
    950: '#000000',
  },
}
SCSS
$custom: #a771fa;
$custom-light: #c59bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a771fa",
  "rgb": {
    "r": 167,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 263.65,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66631,
    "c": 0.19766,
    "h": 299.2
  },
  "luminance": 0.26928
}

Semantic roles & 50–950 ramp

primary
#A771FA
secondary
#E7F5D1
accent
#E6008B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A771FA

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

Preview Lab → · Contrast checker → · Palette generator →

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