#A771FC#A771FC

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

Color values

HEX#A771FC
RGBrgb(167, 113, 252)
HSLhsl(263, 96%, 72%)
HSVhsv(263, 55%, 99%)
CMYKcmyk(33.7%, 55.2%, 0%, 1.2%)
CIE-LABlab(59.02, 49.46, -61.91)
CIE-LCHlch(59.02, 79.24, 308.62°)
OKLaboklab(66.75% 0.0963 -0.1753)
OKLCHoklch(66.75% 0.2 298.8)
XYZxyz(39.4079, 27.0536, 95.2223)
Luminance0.2705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A771FC #C6FC71
analogous
#7181FC #A771FC #EC71FC
triadic
#A771FC #FCA771 #71FCA7
tetradic
#A771FC #FC7181 #C6FC71 #71FCEC
square
#A771FC #FC7181 #C6FC71 #71FCEC
split-complementary
#A771FC #FCEC71 #81FC71
monochromatic
#5F05EE #8235FB #A771FC #CCADFD #ECE1FE

Accessibility & contrast

On white

3.28
#A771FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#A771FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A771FC
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A771FC#FFFFFF#000000##000000
##A771FC1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#338EFF
Deuteranopia (green-blind)
#478DF9
Tritanopia (blue-blind)
#958DAC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a771fc;
/* rgb */ color: rgb(167, 113, 252);
/* oklch */ color: oklch(66.8% 0.200 298.8);
Tailwind
colors: {
  custom: {
    50: '#c59bfe',
    500: '#a771fc',
    950: '#000000',
  },
}
SCSS
$custom: #a771fc;
$custom-light: #c59bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#a771fc",
  "rgb": {
    "r": 167,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 263.309,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66754,
    "c": 0.20003,
    "h": 298.8
  },
  "luminance": 0.27054
}

Semantic roles & 50–950 ramp

primary
#A771FC
secondary
#E8F6D3
accent
#E6008C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A771FC

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

Preview Lab → · Contrast checker → · Palette generator →

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