#A771F7#A771F7

#A771F7 is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.4% C 0.194 H 299.7°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A771F7
RGBrgb(167, 113, 247)
HSLhsl(264, 89%, 71%)
HSVhsv(264, 54%, 97%)
CMYKcmyk(32.4%, 54.3%, 0%, 3.1%)
CIE-LABlab(58.73, 48.23, -59.61)
CIE-LCHlch(58.73, 76.68, 308.97°)
OKLaboklab(66.45% 0.0962 -0.1686)
OKLCHoklch(66.45% 0.194 299.7)
XYZxyz(38.6259, 26.7408, 91.1042)
Luminance0.2674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A771F7 #C1F771
analogous
#717EF7 #A771F7 #EA71F7
triadic
#A771F7 #F7A771 #71F7A7
tetradic
#A771F7 #F7717E #C1F771 #71F7EA
square
#A771F7 #F7717E #C1F771 #71F7EA
split-complementary
#A771F7 #F7EA71 #7EF771
monochromatic
#620DE1 #8337F4 #A771F7 #CBABFA #EDE2FD

Accessibility & contrast

On white

3.31
#A771F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#A771F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A771F7
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A771F7#FFFFFF#000000##000000
##A771F71.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8DFB
Deuteranopia (green-blind)
#4C8CF4
Tritanopia (blue-blind)
#968CA9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a771f7;
/* rgb */ color: rgb(167, 113, 247);
/* oklch */ color: oklch(66.4% 0.194 299.7);
Tailwind
colors: {
  custom: {
    50: '#c59bfa',
    500: '#a771f7',
    950: '#000000',
  },
}
SCSS
$custom: #a771f7;
$custom-light: #c59bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a771f7",
  "rgb": {
    "r": 167,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 264.179,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66447,
    "c": 0.19408,
    "h": 299.7
  },
  "luminance": 0.26741
}

Semantic roles & 50–950 ramp

primary
#A771F7
secondary
#E5F4D0
accent
#E60089
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A771F7

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

Preview Lab → · Contrast checker → · Palette generator →

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