#A771F5#A771F5

#A771F5 is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.3% C 0.192 H 300.1°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A771F5
RGBrgb(167, 113, 245)
HSLhsl(265, 87%, 70%)
HSVhsv(265, 54%, 96%)
CMYKcmyk(31.8%, 53.9%, 0%, 3.9%)
CIE-LABlab(58.62, 47.74, -58.69)
CIE-LCHlch(58.62, 75.65, 309.13°)
OKLaboklab(66.33% 0.0961 -0.1658)
OKLCHoklch(66.33% 0.192 300.1)
XYZxyz(38.3190, 26.6181, 89.4875)
Luminance0.2662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A771F5 #BFF571
analogous
#717DF5 #A771F5 #E971F5
triadic
#A771F5 #F5A771 #71F5A7
tetradic
#A771F5 #F5717D #BFF571 #71F5E9
square
#A771F5 #F5717D #BFF571 #71F5E9
split-complementary
#A771F5 #F5E971 #7DF571
monochromatic
#6310DC #8438F1 #A771F5 #CAAAF9 #EDE2FD

Accessibility & contrast

On white

3.32
#A771F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#A771F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A771F5
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A771F5#FFFFFF#000000##000000
##A771F51.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8DF9
Deuteranopia (green-blind)
#4E8CF2
Tritanopia (blue-blind)
#978BA8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a771f5;
/* rgb */ color: rgb(167, 113, 245);
/* oklch */ color: oklch(66.3% 0.192 300.1);
Tailwind
colors: {
  custom: {
    50: '#c59bf9',
    500: '#a771f5',
    950: '#000000',
  },
}
SCSS
$custom: #a771f5;
$custom-light: #c59bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#a771f5",
  "rgb": {
    "r": 167,
    "g": 113,
    "b": 245
  },
  "hsl": {
    "h": 264.545,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66326,
    "c": 0.1917,
    "h": 300.1
  },
  "luminance": 0.26618
}

Semantic roles & 50–950 ramp

primary
#A771F5
secondary
#E4F3CF
accent
#E30287
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A771F5

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

Preview Lab → · Contrast checker → · Palette generator →

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