#A771F9#A771F9

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

Color values

HEX#A771F9
RGBrgb(167, 113, 249)
HSLhsl(264, 92%, 71%)
HSVhsv(264, 55%, 98%)
CMYKcmyk(32.9%, 54.6%, 0%, 2.4%)
CIE-LABlab(58.85, 48.72, -60.53)
CIE-LCHlch(58.85, 77.70, 308.83°)
OKLaboklab(66.57% 0.0963 -0.1713)
OKLCHoklch(66.57% 0.196 299.3)
XYZxyz(38.9362, 26.8650, 92.7383)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A771F9 #C3F971
analogous
#717FF9 #A771F9 #EB71F9
triadic
#A771F9 #F9A771 #71F9A7
tetradic
#A771F9 #F9717F #C3F971 #71F9EB
square
#A771F9 #F9717F #C3F971 #71F9EB
split-complementary
#A771F9 #F9EB71 #7FF971
monochromatic
#610AE6 #8336F7 #A771F9 #CBACFB #EDE2FE

Accessibility & contrast

On white

3.30
#A771F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#A771F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A771F9
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A771F9#FFFFFF#000000##000000
##A771F91.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#378DFE
Deuteranopia (green-blind)
#4A8CF6
Tritanopia (blue-blind)
#968CAA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a771f9;
/* rgb */ color: rgb(167, 113, 249);
/* oklch */ color: oklch(66.6% 0.196 299.3);
Tailwind
colors: {
  custom: {
    50: '#c59bfc',
    500: '#a771f9',
    950: '#000000',
  },
}
SCSS
$custom: #a771f9;
$custom-light: #c59bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a771f9",
  "rgb": {
    "r": 167,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 263.824,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66569,
    "c": 0.19646,
    "h": 299.3
  },
  "luminance": 0.26865
}

Semantic roles & 50–950 ramp

primary
#A771F9
secondary
#E7F5D1
accent
#E6008A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A771F9

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

Preview Lab → · Contrast checker → · Palette generator →

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