#A771CA#A771CA

#A771CA is a light, vivid violet. Relative luminance 0.243; OKLCH L 63.9% C 0.140 H 310.9°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A771CA
RGBrgb(167, 113, 202)
HSLhsl(276, 46%, 62%)
HSVhsv(276, 44%, 79%)
CMYKcmyk(17.3%, 44.1%, 0%, 20.8%)
CIE-LABlab(56.38, 37.67, -38.12)
CIE-LCHlch(56.38, 53.59, 314.66°)
OKLaboklab(63.93% 0.0918 -0.1059)
OKLCHoklch(63.93% 0.14 310.9)
XYZxyz(32.5002, 24.2906, 58.8421)
Luminance0.2429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A771CA #94CA71
analogous
#7B71CA #A771CA #CA71C1
triadic
#A771CA #CAA771 #71CAA7
tetradic
#A771CA #CA7B71 #94CA71 #71C1CA
square
#A771CA #CA7B71 #94CA71 #71C1CA
split-complementary
#A771CA #C1CA71 #71CA7B
monochromatic
#6A348C #8B45B9 #A771CA #C39EDB #DECAEB

Accessibility & contrast

On white

3.58
#A771CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#A771CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A771CA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A771CA#FFFFFF#000000##000000
##A771CA1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CD
Deuteranopia (green-blind)
#6C88C8
Tritanopia (blue-blind)
#A37F94
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a771ca;
/* rgb */ color: rgb(167, 113, 202);
/* oklch */ color: oklch(63.9% 0.140 310.9);
Tailwind
colors: {
  custom: {
    50: '#c39bda',
    500: '#a771ca',
    950: '#000000',
  },
}
SCSS
$custom: #a771ca;
$custom-light: #c39bda;
$custom-dark: #000000;
JSON
{
  "hex": "#a771ca",
  "rgb": {
    "r": 167,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 276.404,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63931,
    "c": 0.14014,
    "h": 310.9
  },
  "luminance": 0.2429
}

Semantic roles & 50–950 ramp

primary
#A771CA
secondary
#C8DCBB
accent
#B92D64
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #A771CA

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

Preview Lab → · Contrast checker → · Palette generator →

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